Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
baklazan
80 days ago
|
parent
|
context
|
favorite
| on:
When did people favor composition over inheritance...
You can do the very same with inheritance, where `Player` and `Monster` inherit `Flying`
Razengan
79 days ago
[–]
What about walking monsters? Another inheritance branch for those? And other subtrees for other effects? What about making those effects temporary?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: