News for hackers. Stuff that matters.
Re:Dropbox dives into CoffeeScript by jlongster on Thursday September 13, 2012 @06:03PM (#4518888)
CoffeeScript can't really claim that "it's just javascript" either. I'd have to figure out how to hook up the CoffeeScript compiler into every single one of my workflows where I use javascript.

For example, I use swank (https://github.com/swank-js/swank-js) to send javascript to the current page in my browser from Emacs. I couldn't live without it. I'd have to figure out how to dynamically compile it, and I'm not sure if there's any restrictions with piece-meal compilation.

It's definitely a separate community and I'd lose out on lots of good tools if I had to use it. I'm glad nobody wants to use it where I work.

Re:Dropbox dives into CoffeeScript by lowboy on Thursday September 13, 2012 @06:25PM (#4518967)
"It's just javascript" !== "You don't have to change your workflow at all"
Re:Dropbox dives into CoffeeScript by icandoitbetter on Thursday September 13, 2012 @06:31PM (#4518994)
Piecemeal compilation:

    // beginning of file
    Coffeescript = require('coffee-script');
   
    // compilation    
    Coffeescript.compile(line, {bare: true});
e.g.

    var f = eval(Coffeescript.compile("(x) -> x + 1", {bare: true}));
    f(1) // ==> true