Re:The Brittleness Of Type Hierarchies
by gboyer on Tuesday May 08, 2012 @02:00PM
(#3944994)
You can just do both, though. Use interfaces for polymorphism, to define the interactions between your objects -- and then, if you want, use inheritance as one possible strategy for code reuse.
[ Parent
| on HN ]
That works great if you're only using one interface in your class. What if you need to include two?