Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
SkiFire13
on May 3, 2025
|
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
on May 3, 2025
[–]
Agree, inheritance tends to be overused when programmers try to get too clever. The flatter the class hierarchy the better
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
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.