logoalt Hacker News

Fannon01/22/20251 replyview on HN

Here to recommend this article, really helped me to understand inheritance better. Liskov Substitution is just one aspect / type of it and may conflict with others.

https://www.sicpers.info/2018/03/why-inheritance-never-made-...


Replies

rramadass01/22/2025

Very Good; Gives the "Correct" overview of different usages (i.e. policy) of Inheritance (i.e. mechanism).

Quote: Inheritance was never a problem: trying to use the same tree for three different concepts was the problem.