Code Smell 290 - Refused Bequest
When you ignore your inheritance, you will have trouble with your parents
TL;DR: Subclasses should honor ALL their parent’s contract.
Problems đŸ˜”
Wrong abstraction
Subclassification for code reuse
Misleading hierarchy
Unused or overridden methods
...
maximilianocontieri.com3 min read