NOTE: Sorry for the long question!
I\'m trying to understand some key areas behind object orientation and I couldn\'t decide one way or another about my par
I would make Bob know how to serialize itself since it has private data. Another object (such as your Writer) would take that and put it on disk. Bob knows how to deal with its data best but it need not care about how or where that is stored. Your Writer knows how to save data best but it need not care about how that data is created.