Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
davejohnclark
on May 23, 2022
|
parent
|
context
|
favorite
| on:
“What if it changes?”
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: