Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mirekrusin
on March 12, 2020
|
parent
|
context
|
favorite
| on:
I Don't Use Classes
Sparkles of inheritance can be good. I use them sometimes to aid functional combinators.
_ivvf
on March 12, 2020
[–]
Right. I'm not saying inheritance should never be used; just that it can be a distraction for learning what OOP is really about. If I were to teach OOP in Java to new students, I might start out just focusing on interfaces.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: