What's wrong with inheritance?

dufrp@oricom.ca dufrp@oricom.ca
Sun, 27 Sep 1998 04:33:05 -0400 (EDT)


That is a bit out of topic, but I guess the answer will be interesting for
some people else than me on the list.
Here and there I see comments from Fare about the fact that
inheritance being such a lame thing, but no clear explanation of why?
Did saw a comment in glossary saying that inheritance can be
replaced by higher-order functions, but it is not clear in my mind how.
Maybe a small example could help me understand.
Inheritance still seem  to me as a good way to achieve polymorphism.
---Paul Dufresne