--

It is a modern myth that composition is superior to inheritance. Both have their place under appropriate circumstances.

Most developers misapply OOP because they fail to understand OOP. They use OOP languages that are cheap knockoffs of the ideal OOP language: Smalltalk.

Because they misapply OOP, they blame the tool rather than their own lack of understanding of how to use OOP properly.

Smalltalk is an excellent example of inheritance used well.

--

--

No responses yet