Original Post
I''m just wondering how people manage the file formats for their applications. Object structures often change between versions of software and backwards compatibility is pretty important.
It makes sense for each object to save itself to the file instead of having a central file loading class, but then it means that each object has to know about the version information.
So, would you have a ''global'' version information structure that gets passed to the objects as you save and load to let the objects manage themselves - or would you go for the central management option whereby you would have a FileV1 class and a FileV2 class etc.?