3 ms·
I'm glad someone said this. I'm an occasional JavaScript programmer, and I looked over ES6 last night and was surprised by how large it's become. And I learne
by chubot 11y ago
I'm glad someone said this. I'm an occasional JavaScript programmer, and I looked over ES6 last night and was surprised by how large it's become. And I learned that ES7 is already on the way.
That said, most of the features seem nice, and many are borrowed from stable languages like Python, so perhaps it's not too much. I'll have to try it and see.
It made me wonder what Crockford is up to, and what he thinks of this.
https://github.com/lukehoban/es6features https://github.com/lukehoban/es6features
http://es6-features.org/ http://es6-features.org/
- mkozlows 11y agoYeah, I share the linked author's opinion of ES6 -- it's good stuff, but it's also a dangerous direction. Part of me thinks that maybe what's needed is an updated version of "use strict" -- "use es6" or whatever -- that would let you use the new features, but also prevent you from using some deprecated features, to keep the surface of the language somewhat smaller even as new stuff gets added.
- fithisux 11y agoFor many years I was fiercely against ES. With ES6 I start to change. Your suggestion make sense and I applaud it. Something like "use strict es6" would make our lives easier. Backwards incompatibility here has a goal.
- dangoor 11y agoThat was seriously considered some years back and thrown out as likely to cause poor adoption and poor intermingling of language features. http://www.2ality.com/2014/12/one-javascript.html http://www.2ality.com/2014/12/one-javascript.html
- serve_yay 11y agohttps://www.youtube.com/watch?v=PSGEjv3Tqo0 https://www.youtube.com/watch?v=PSGEjv3Tqo0 :)
- warfangle 11y agoIt's expanding the language, but adding such sorely needed features. I've been working in it for a little while now, and egads is it painful to go back. Block scoping, arrow functions, and destructured assignments are all a godsend.
- TazeTSchnitzel 11y agoFrom one of his more recent talks, Crockford said that most of the new features in ES6 had not yet been proven to be good parts. Fairly damning, I think.