3 ms·
I don't think I have ever read a programming book that teaches OO in the same way that most developers use it - that is implement top level first and then when
by nikcub 15y ago
I don't think I have ever read a programming book that teaches OO in the same way that most developers use it - that is implement top level first and then when you have commonalities between objects abstract them out into parent objects.
Thinking about and mapping out class hierarchies is something that Java enterprise analysts do.
A good example to teach OO would be a config parser. Write a config parsing object, then sub-class for parsing Yaml, INI, XML, etc.