Hacker News new | ask | show | jobs
by davejohnclark 1490 days ago
I generally think of this as the same principle of "prefer composition over inheritence". Leave the top-level free to compose the behaviour it requires rather than inheriting the framework's behaviour, for exactly the reasons you describe.