|
|
|
|
|
by MrOrelliOReilly
3992 days ago
|
|
I never understood this line of reasoning. Isn't composition over inheritance a valid principle, especially in JS land? Speaking more to the anti-pattern part of your comment, obviously whether or not you think they are hard to read is subjective. |
|
I find inheritance much harder to reason about or even read. Mixins don't always lead to the clearest code, but they're better than all the alternatives.