4 ms·
I don't know if I'd consider it life-changing for the world of client-side javascript (I have yet to use it there), but using it in the callback-filled universe
by mdwrigh2 16y ago
I don't know if I'd consider it life-changing for the world of client-side javascript (I have yet to use it there), but using it in the callback-filled universe that is Node.js, its simplified and clean syntax is worlds better.
- jarin 16y agoI'm hoping there will be a day where I can use: <script language="coffeescript">
- evilduck 16y agoYou can do that now, with caveats: http://jashkenas.github.com/coffee-script/#scripts http://jashkenas.github.com/coffee-script/#scripts
- jarin 16y agoI've seen that, but I wonder why it says "not recommended for serious use". If it's just slower, I'd be ok using it for simple things, but if it's buggy I'll just use BistroCar.
- jashkenas 16y agoIt's not recommended for serious use because: * You have to include the "coffee-script.js" compiler file, which is medium large (mostly the generated parse table). * It's harder to debug, because you're debugging through an eval(), without the compiled JavaScript handy. Those two caveats aside, it works fine. All of the interactions on the CoffeeScript.org homepage are powered by it.