Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



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: