News for hackers. Stuff that matters.
Re:CoffeeScript 1.7.0 by twerquie on Tuesday January 28, 2014 @04:06PM (#7139721)
CoffeeScript played an important role in the development of ES6, but looking forward, it seems to have a same-but-different set of features vs. actual JavaScript, which may doom its future.
Re:CoffeeScript 1.7.0 by thedufer on Tuesday January 28, 2014 @05:41PM (#7140334)
A doom dependent on full adoption of ES6 could easily be a decade out, to be fair. There aren't, as far as I know, any browsers that expose ES6 without non-standard compile/runtime flags, and we have to wait until there's enough adoption that the % of people using pre-ES6 browsers is negligible.

Hell, I'm still waiting for Array::map to be dependable.

Re:CoffeeScript 1.7.0 by twerquie on Tuesday January 28, 2014 @08:02PM (#7141056)
MDN publishes correct polyfills for ES5 Array functions like map, reduce and forEach. I think it's worth shipping those and using them now.

Ultimately though, wouldn't you want to use a js preprocessor that lets you write full spec ES6 and compiles down to ES4 or whatever your runtime target is? That's available today, and it doesn't confuse the meaning of class, fat arrow, variable scoping, etc.

Re:CoffeeScript 1.7.0 by jashkenas on Tuesday January 28, 2014 @05:49PM (#7140405)
Hell, I'm still waiting for [1, 2, 3].indexOf(2) to be dependable ;)
Re:CoffeeScript 1.7.0 by jonny_eh on Tuesday January 28, 2014 @06:44PM (#7140683)
It's not?
Re:CoffeeScript 1.7.0 by elwell on Tuesday January 28, 2014 @07:13PM (#7140812)
Not in older versions of IE.
Re:CoffeeScript 1.7.0 by xixixao on Tuesday January 28, 2014 @04:23PM (#7139817)
JavaScript will never adopt CoffeeScript syntax and will retain quirks for backwards compatibility (such as the == operator). CoffeeScript may very well settle on features, but only JavaScript's death could doom it - and that seems unlikely.