Hacker News new | ask | show | jobs
by mguterl 5076 days ago
Inheritance is not always the right solution.
1 comments

Especially when the examples are written in a language which has mixins as core functionality.
Mixins are inheritance. When people say "prefer composition over inheritance," they don't mean mixins.