3 ms·
Never in my life I have read so much rambling in one place. I can summarize the whole article in one tweet(removing some nonsense along the way): "The ECMAScrip
by voidr 14y ago
Never in my life I have read so much rambling in one place. I can summarize the whole article in one tweet(removing some nonsense along the way): "The ECMAScript standard should make it easy to use 'classical' inheritance because that's what kids learn in school."
This should have been just a tweet, not a gargantuan article, that just talks about the same thing over and over.
If you want to write in a classical style, you can do it today, if you want all your favorite class features, you could just write an abstraction that does it all. If you are obsessed with doing it with syntax just use CoffeeScript or something like that, heck you could just use GWT and just write the whole thing in Java and not even care about JS.
The committee doesn't have a standard for class yet because it's really a hard problem, they can easily turn JS into the next PHP if they get it wrong.
Something is needed to make classical people happy, but not the expense of language integrity.
> Don’t add classes and the world at large thinks of JS as a joke and a toy
This is both ignorant and moronic, C must be a toy and a joke then also the author probably failed to notice that both C# and Java are adding lambdas, and other nice functional features.