Feb. 14, 2019
8:04 a.m.
Cyril Ferlicot <cyril.ferlicot@gmail.com> wrote:
I'm not a big fan of limiting the language on composition because the choice between composition and inheritance should be conceptual and not technical.
I read in an article this way to choose between inheritance and composition:
An alternative (Smalltalk) view is that inheritance is primarily a code reuse instrument. Use it when it allows you to do so. Java and c++ deformed a lot of OO thinking Stephan