Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
johnmaguire
on April 30, 2021
|
parent
|
context
|
favorite
| on:
Inheritance was invented as a performance hack
In my experience, whether you use an abstract class or an interface class as your reference depends very much on the problem you are trying to solve - specifically, is there common code shared across all implementations?
mtinkerhess
on April 30, 2021
[–]
A C++ pure abstract class is equivalent to a Java interface.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: