Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
globular-toast
on Oct 24, 2024
|
parent
|
context
|
favorite
| on:
OOP is not that bad
A useful rule is not to extend a class you don't own. This is usually taken to mean don't extend a class from a third party library. But it should also mean classes that are shared by multiple developers. In that case, compose, don't inherit.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: