News for hackers. Stuff that matters.
Re:Poll: Have you moved from JavaScript to CoffeeScript? by butu5 on Wednesday June 22, 2011 @12:10PM (#2683775)
you can try js2coffee which will convert all existing js file to coffee-script.
Re:Poll: Have you moved from JavaScript to CoffeeScript? by mildweed on Wednesday June 22, 2011 @02:47PM (#2684505)
I see no need to convert my js to coffee just so I can compile it back to js.
Re:Poll: Have you moved from JavaScript to CoffeeScript? by nicksergeant on Wednesday June 22, 2011 @10:43PM (#2686420)
FWIW, I used js2coffee on a 400-line JS file powering an app today and the compiled version of the code (js->coffee->js) was noticeably faster than the straight JS version. The for-in efficiency is probably part of that.

A quick way to port once: http://ricostacruz.com/js2coffee/

Re:Poll: Have you moved from JavaScript to CoffeeScript? by gavinlynch on Wednesday June 22, 2011 @02:52PM (#2684524)
agree. I've never really considered anything about Javascript's syntax to be cumbersome. I've written server-side Ruby and appreciate the syntax...

But two points:

1) The syntax wasn't the only thing that drew me to Ruby. 2) I just don't see an any real need morph my JS code into a similar syntax. Writing JS is pretty easy.