3 ms·
I'm hoping there will be a day where I can use: <script language="coffeescript">
by jarin 16y ago
I'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.