Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
coldtea
on March 19, 2018
|
parent
|
context
|
favorite
| on:
Inheritance Often Doesn't Make Sense
Most of them. But that's not the point. Not all subtypes are applicable to any task in OOP either.
tome
on March 19, 2018
[–]
Then I'm not quite sure what's the point of them. Surely instead of using a type you're allowed to use any of its subtypes.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: