Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Happy Programming with CoffeeScript

Happy Programming with CoffeeScript

高見龍

May 18, 2012
Tweet

More Decks by 高見龍

Other Decks in Programming

Transcript

  1. a.k.a Eddie or Aquarianboy Live and work in Taipei, Taiwan.

    Serving in my own little tiny company. Flash / AS3 / Ruby / Rails / Python programming for living. Mac OS user, Objective-C for personal inerests. Technical Education and Consulant. PTT Flash BM (since 2007/4). Ruby Certified Programmer (Since 2012/1). Adobe Certified Flash Developer (Since 2006/7). Linux Professional Institue Certification (Since 2005/3). 高見見龍龍 photo by Eddie
  2. var

  3. var

  4. ->

  5. var say_something; say_something = function(msg) { if (msg == null)

    { msg = "JSDC"; } return console.log("say " + msg); };
  6. var i, _i; for (i = _i = 1; _i

    <= 10; i = ++_i) { console.log(i); }
  7. OO

  8. var Hello; Hello = (function() { Hello.name = 'Hello'; function

    Hello(name) { this.name = name; } Hello.prootype.greeting = function(msg) { return "hi, " + this.name + ", " + msg; }; return Hello; })();
  9. 高見見龍龍 Conacts photo by Eddie Websie Blog Plurk Facebook Google

    Plus Twiter Email Mobile http://www.eddie.com.tw http://blog.eddie.com.tw http://www.plurk.com/aquarianboy http://www.facebook.com/eddiekao http://www.eddie.com.tw/+ https://twiter.com/#!/eddiekao [email protected] +886-928-617-687