V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Oliver
V2EX  ›  分享发现

CoffeeScript

  •  
  •   Oliver · 2010-12-14 02:22:42 +08:00 · 5105 次点击
    这是一个创建于 5124 天前的主题,其中的信息可能已经有所发展或是发生改变。
    CoffeeScript is a little language that compiles into JavaScript. Underneath all of those embarrassing braces and semicolons, JavaScript has always had a gorgeous object model at its heart. CoffeeScript is an attempt to expose the good parts of JavaScript in a simple way.

    The golden rule of CoffeeScript is: "It's just JavaScript". The code compiles one-to-one into the equivalent JS, and there is no interpretation at runtime. You can use any existing JavaScript library seamlessly (and vice-versa). The compiled output is readable and pretty-printed, passes through JavaScript Lint without warnings, and runs in every JavaScript implementation.

    http://jashkenas.github.com/coffee-script/
    2 条回复    1970-01-01 08:00:00 +08:00
    Livid
        1
    Livid  
    MOD
       2010-12-14 02:37:12 +08:00
    @Oliver 上传一个头像吧 :)
    kayue
        2
    kayue  
       2010-12-14 03:12:45 +08:00
    heard about it, but not too used to code in that style. I have no idea what is it going to generate, unless there is an editor works just like the demo they have on their website - coffee script on one side and js on the other side
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5829 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 01:43 · PVG 09:43 · LAX 17:43 · JFK 20:43
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.