News for hackers. Stuff that matters.
Re:Ask HN: What programming feature can't you live without? by flukus on Tuesday May 02, 2017 @07:56PM (#14251856)
This is what I'd love to see die the most. All too often logic will be spread out through unmanageable inheritance trees. I've never seen a completely necessary use for inheritance and I've seen tonnes of misuse.
Re:Ask HN: What programming feature can't you live without? by robin_philip on Thursday May 04, 2017 @08:18AM (#14264240)
Inheritance is probably misused a lot. Having deeply nested inheritance structures is definitely a bad idea. It is useful in some situations.

Polymorphism on the other hand is a powerful technique to build flexible systems.