If you've been focusing on another language for a few years, you might not recognize JavaScript anymore. It's pretty awesome now. Here's an example of what it looks like: http://pastebin.com/raw.php?i=yEB4mrty As someone who usually works with C, Scala, and Java -- I'm currently working on a small app built on ec6/7 babel, npm, jspm, system.js, aurelia, gulp, etc. It's been a great experience so far.
Is "@inject(HttpClient)" ES6 too? I don't recognize it but I haven't memorized all the new capabilities yet.
ECMAScript 2015 Approved
21–30 of 108 posts
Re: ECMAScript 2015 Approved
#22FYI, ECMAScript 2015 is also known as ES6.
Because of their switch to use a year instead of a version number, do they plan on doing these ES enhancements more often?
Re: ECMAScript 2015 Approved
#23What does it mean for a spec to be approved? Is it like a peer-review?
Re: ECMAScript 2015 Approved
#24If you've been focusing on another language for a few years, you might not recognize JavaScript anymore. It's pretty awesome now. Here's an example of what it looks like: http://pastebin.com/raw.php?i=yEB4mrty As someone who usually works with C, Scala, and Java -- I'm currently working on a small app built on ec6/7 babel, npm, jspm, system.js, aurelia, gulp, etc. It's been a great experience so far.
Nit: single line lambdas can be written like `a => a + 1` instead of `a => { return a + 1 }`. Cuts the amount of bracket nesting.
Re: ECMAScript 2015 Approved
#25Sorry, I accidentally downvoted you with a misclick :(
Re: ECMAScript 2015 Approved
#26If you've been focusing on another language for a few years, you might not recognize JavaScript anymore. It's pretty awesome now. Here's an example of what it looks like: http://pastebin.com/raw.php?i=yEB4mrty As someone who usually works with C, Scala, and Java -- I'm currently working on a small app built on ec6/7 babel, npm, jspm, system.js, aurelia, gulp, etc. It's been a great experience so far.
Re: ECMAScript 2015 Approved
#27Sorry, I accidentally downvoted you with a misclick :(
Re: ECMAScript 2015 Approved
#28Re: ECMAScript 2015 Approved
#29If you've been focusing on another language for a few years, you might not recognize JavaScript anymore. It's pretty awesome now. Here's an example of what it looks like: http://pastebin.com/raw.php?i=yEB4mrty As someone who usually works with C, Scala, and Java -- I'm currently working on a small app built on ec6/7 babel, npm, jspm, system.js, aurelia, gulp, etc. It's been a great experience so far.
Part of the problem with the Javascript ecosystem is that you have to use so many different tools/libraries to create a "simple" app.
Re: ECMAScript 2015 Approved
#30Sorry, I accidentally downvoted you with a misclick :(
Another problem is that I often upvote articles by scrolling on my phone. In addition to providing false signal, this has the unfortunate side effect of polluting my "saved stories".
I wish there was a mechanic to change votes after submission (even if the ability to change your vote was only momentary).
Do pg, et al. accept PRs?