Home » U++ Library support » U++ Core » (Possible) Serialization issue
Re: (Possible) Serialization issue [message #17235 is a reply to message #17234] |
Sun, 03 August 2008 23:21 |
|
mirek
Messages: 13976 Registered: November 2005
|
Ultimate Member |
|
|
Mindtraveller wrote on Sun, 03 August 2008 16:03 | Thanx. And what about renaming? I understand compitibility issues, but don`t you consider "no surprises" idea importance?
|
Well, I do not see any surprise here. LoadFromFile is a complex function supposed to manage loading from files, using Serialize functions/methods.
All Serialize functions/methods must be 2-way anyway. Creating backup does not cause any state change in objects (at least, as long as Serialize are correct). And when error is encountered, it just "rollbacks" all changes.
Besides, renaming would break a lot of code.
Mirek
[Updated on: Sun, 03 August 2008 23:22] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat May 11 06:49:41 CEST 2024
Total time taken to generate the page: 0.02106 seconds
|