Kinja Technology
Kinja Technology

What should the average JS ninja know about upcoming JavaScript and Browser features?

After the compulsory 5-minute struggle to try and get a Macintosh hooked up to a projector which under international law must happen at least once every conference, Daniel Steigerwald brought out a sort of State of the Union Address on the state of upcoming JS- and browser features. In short, the future's bright and there's no reason we can't go there now.

EcmaScript 6, which is right around the corner, gifts us with syntactic sugar for everything, anonymous functions without needing to always spell out 'function', destructuring assingment, a much improved argument handling with default and named parameters, along with block scoping instead of function scoping. Finally, standardized modules finally provide hope that there will be better interoperability between frameworks (along with less need for them).


The keywords for 2014, according to Daniel, are using promises (and knowing why jQuery's promises are broken), WebRTC (although this is not directly useful for us), Facebook React (which we'll have a session on on Friday), flexbox layout in CSS and finally isomorphic applications: that is, apps that can live both on the client- and serverside with the same codebase.

Most of these either exist in both browsers worth targeting, or we can get there using polyfills. Internet Explorer, according to him, not only is not a bottleneck, but is only used by enterprise users, and they only click around and don't buy anything, so it's not important to serve them. There's no reason not to get started on the future today.

Share This Story

Get our newsletter