Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
strix_varius
63 days ago
|
parent
|
context
|
favorite
| on:
When did people favor composition over inheritance...
Sure, but "favor x over y" or, put another way, "use y only if x is unsuitable" is compatible with this. Nothing in "prefer composition over inheritance" says that composition is the only correct way.
ChrisMarshallNY
63 days ago
[–]
No, but I often see folks use it as a bludgeon for dogma.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: