Over a million developers have joined DZone.

Where JavaScript Syntax is Going: Two Discussions

DZone's Guide to

Where JavaScript Syntax is Going: Two Discussions

· Web Dev Zone ·
Free Resource

A true open source, API-first CMS — giving you the power to think outside the webpage. Try it for free.

David Herman has a lot to say about ECMAScript.next: his Mozilla blog is full of thoughtful updates, and he's been trickling steady updates of his talk on the future of JavaScript to various conferences for months now.

He seems pretty fair, too: in this recent post, for example, he praises a Dart cascade syntax proposal because it uses = for assignment -- because that syntax is quite intuitive, as well as familiar. The comments on that same post are pretty cool/subtle too (and don't all agree), and it's always fun to see new syntax under close scrutiny. David's blog is full of discussions at this level -- so if you're interested in syntax improvements, he's a great developer to follow.

For a briefer, less theoretical discussion of select ECMAScript.next improvements, try this post from Kishore. He loves JavaScript and Python both, and helpfully compares the proposed let keyword syntax, as in this example:

let even = [ x for (x in values([1,2,3,4,5,6])) if (x %2 === 0) ];

to Python's syntax (like CoffeeScript, perhaps).

If this sort of thing piques your interest, and especially if you love JavaScript but find it slightly annoying at times, it might be worth watching David's latest full-length presentation on the future of JavaScript (if you haven't already).


The New Standard for a Hybrid CMS: GraphQL Support, Scripting as a Service, SPA Support. Watch on-demand now.


Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}