It happens that just yesterday I read about architecture smells in code. Among the examples was “subclasses don’t redefine methods”. In my post about Core Data and expressive domains earlier this week, I did just that: create a
Egg subclass of
CoreDataEgg to inherit
CoreDataEgg‘s behavior. That’s not what abstraction to superclasses is meant to do.
Continue reading …