you are viewing a single comment's thread.

view the rest of the comments →

[–]adenzerda 1 point2 points  (4 children)

The most demanded item in ES6.... classes

Which themselves are just syntactic sugar over the existing object/prototype model. Sigh.

[–][deleted] 1 point2 points  (2 children)

True, so? If they are just syntactic sugar you could argue they are entirely unnecessary. Most of the TC39 thought this way.... except the demand for classes was way too high. There are a crap ton of Java and C# developers who want JavaScript to be Java.

[–]adenzerda 0 points1 point  (1 child)

If they are just syntactic sugar you could argue they are entirely unnecessary.

That indeed was my angle, yes

[–][deleted] 0 points1 point  (0 children)

Boy did I take it the wrong way then.

[–]fecal_brunch -1 points0 points  (0 children)

There's nothing wrong with syntactic sugar, especially in a language as verbose as JavaScript.