| |
Read/Write Anything Class Example
Here's a preview of the example. If you want to leave your class cluster unchanged, then your data is probably something like this...

And your write method will need to look something like this...

Every time you change the data in your class, you break your read and write methods but you can fix them pretty easily. A cleaner approach is to put all your data within a subcluster like this...

So that your write method can just look like this...

Now when you change your class nothing breaks.
|
|