News for hackers. Stuff that matters.
Re:Goodbye var: ES6 variable declarations with let and const by rmgraham on Tuesday March 17, 2015 @12:57PM (#9219338)
It's too bad it'll be a long while before these can be used in node modules without a transpiler :-(
Re:Goodbye var: ES6 variable declarations with let and const by jakerella86 on Tuesday March 17, 2015 @01:52PM (#9219828)
Or just require devs to use --harmony. I think there are a couple modules that do so... like koa. :)

Of course, since that's basically "experimental" I guess people would think your module is also "experimental". But I think let and const are pretty darn stable.

Re:Goodbye var: ES6 variable declarations with let and const by shubhra51 on Tuesday March 17, 2015 @01:38PM (#9219718)
Maybe when io.js and node.js merge :)
Re:Goodbye var: ES6 variable declarations with let and const by sickeythecat on Tuesday March 17, 2015 @11:46AM (#9218719)
Available in the latest version of Node or only io.js?
Re:Goodbye var: ES6 variable declarations with let and const by jakerella86 on Tuesday March 17, 2015 @11:57AM (#9218808)
It's in Node.js v0.12.0, but only with the --harmony flag (and I think you also have to specify --use-strict).
Re:Goodbye var: ES6 variable declarations with let and const by jakerella86 on Tuesday March 17, 2015 @11:59AM (#9218825)
Also note that even in io.js you need to enable "strict mode;" in all scripts!