|
As a general rule, do you deserialise when you initialise the object or only deserialise piece by piece as required (let’s say our object draws data from several database tables)? Problem with just-in-time deserialising is you have to check that you’ve deserialised before getting or setting anything. This is what I have been doing, but I’m not sure it’s worth the hassle and potential for weird bugs.
|
<<image001.gif>>
