8 ms·
> It made the decision to extend prototypes. In hindsight, a huge mistake. I think it was a mistake at the time, but I still believe prototypal inheritance is
by mlajtos 4y ago
> It made the decision to extend prototypes. In hindsight, a huge mistake.
I think it was a mistake at the time, but I still believe prototypal inheritance is pretty great idea. And JS desperately needs standard library, which IMO should extend built-in prototypes, so the language would be more coherent. ES1995 [0] was a funny take on this direction, but people (mainly non-JS people) would like to seriously use it. Go figure.
[0]: https://github.com/mlajtos/es1995 https://github.com/mlajtos/es1995