Antipatterns: inheritance
When NOT to use inheritance
TBD
Articles about this topic based on Java
Articles about this topic that are language neutral (just OOP)
- See “how to misuse inheritance”: https://www.thoughtworks.com/insights/blog/composition-vs-inheritance-how-choose
- http://gameprogrammingpatterns.com/subclass-sandbox.html
Articles based on languages other than Java
Swift:
- http://krakendev.io/blog/subclassing-can-suck-and-heres-why