denkstein.github.io
Do not ask “Is A a B?”: Inheritance and the Is-A Trap
Using 'is-a' to decide inheritance leads to poor design; instead, check behavioral substitution and coupling via the Liskov substitution principle.
One line. Many voicesSeek and you shall find
denkstein.github.io
Using 'is-a' to decide inheritance leads to poor design; instead, check behavioral substitution and coupling via the Liskov substitution principle.