News for hackers. Stuff that matters.
Re:Replace CoffeeScript with ES6 by nkohari on Thursday January 29, 2015 @10:21PM (#8970309)
Do you have a source? I don't understand how a closure over a single variable (this), instead of reassigning the value of the variable in a specific scope, would result in a 50% improvement in performance. Also -- the phrase "50% improvement in performance" itself is kind of dubious, no?
Re:Replace CoffeeScript with ES6 by anonova on Thursday January 29, 2015 @10:48PM (#8970370)
I wrote a simple benchmark, and `bind` seems to be mind-boggling slow.

http://jsperf.com/self-this-vs-bind

Re:Replace CoffeeScript with ES6 by kansface on Thursday January 29, 2015 @11:32PM (#8970473)
You can write your own or use lodash's for a dramatic speed increase. You can even stomp on Function.prototype.bind.