Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
SkiFire13
10 months ago
|
parent
|
context
|
favorite
| on:
Strings Just Got Faster
> easy to take another class and copy it with small modifications but not mess it up for anyone else (inheritance)
That sounds like a recipe for disaster though, as it generally makes code much harder to read.
dgoldstein0
10 months ago
[–]
Agree, inheritance tends to be overused when programmers try to get too clever. The flatter the class hierarchy the better
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
That sounds like a recipe for disaster though, as it generally makes code much harder to read.