Hacker News new | ask | show | jobs
by wvenable 3805 days ago
Prototype inheritance is fairly hard to reason about and fairly verbose to set up correctly. And if we aren't supposed to avoid inheritance that applies equally to prototype inheritance as well. Prototype inheritance allows even crazier inheritance situations.

I don't think it's reasonable to eliminate inheritance (it's very useful when it's needed) but restricting it down from what Javascript currently provides natively is a good thing.