Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
mirek is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Core/Ol_Set.cpp should to change!
Next Topic: [solved!] XML serialization and relative paths
Goto Forum:
  


Current Time: Sat May 11 06:49:41 CEST 2024

Total time taken to generate the page: 0.02106 seconds