6 ms·
Inheritance is not always the right solution.
by mguterl 14y ago
Inheritance is not always the right solution.
- dekz 14y agoEspecially when the examples are written in a language which has mixins as core functionality.
- regularfry 14y agoMixins are inheritance. When people say "prefer composition over inheritance," they don't mean mixins.