0
5 Minutes about my recent dive into



                               CoffeeScript



Thursday, 2 September 2010
Javascript is a
                             powerful, lambda-
                             based language
               ...
JSLint compliant, well-mannered
   Javascript is a bit unnatural
                                              ==
        ...
The language I want it to be

                                     (examples)




Thursday, 2 September 2010
Simpler, cleaner JS

         Python, Ruby, yaml
         inspired functional
         OO language that
         compiles ...
JSLint compliant, readable output
                                      (try the website)




       Courtesy: http://jash...
Nice with JQuery and Underscore.js




          (In fact the author jashkenas @ Github ported Underscore.js to CoffeeScri...
Structure your prototypes

                                     (sample)

                             CoffeeScript and Ra...
CoffeeScript with Node.JS backend




           Credit: dhotson @ tumblr


Thursday, 2 September 2010
Jison parser
                                Compiler written in CoffeeScript


                             http://jashke...
Upcoming SlideShare
Loading in...5
×

CoffeeScript

1,937

Published on

0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,937
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
30
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide

Transcript of "CoffeeScript"

  1. 1. 5 Minutes about my recent dive into CoffeeScript Thursday, 2 September 2010
  2. 2. Javascript is a powerful, lambda- based language trapped in a misleading C syntax and made difficult by design flaws. Thursday, 2 September 2010
  3. 3. JSLint compliant, well-mannered Javascript is a bit unnatural == void var var foo = function foo( ) {}; undefined, null, falsy new Boolean(false) Switch fall through on string only Loose typing / objects Global variables Unintended shadowing Thursday, 2 September 2010
  4. 4. The language I want it to be (examples) Thursday, 2 September 2010
  5. 5. Simpler, cleaner JS Python, Ruby, yaml inspired functional OO language that compiles to the good parts of JS. Available as a Node.JS utility. Thursday, 2 September 2010
  6. 6. JSLint compliant, readable output (try the website) Courtesy: http://jashkenas.github.com/coffee-script/ Thursday, 2 September 2010
  7. 7. Nice with JQuery and Underscore.js (In fact the author jashkenas @ Github ported Underscore.js to CoffeeScript) Thursday, 2 September 2010
  8. 8. Structure your prototypes (sample) CoffeeScript and Raphaël Thursday, 2 September 2010
  9. 9. CoffeeScript with Node.JS backend Credit: dhotson @ tumblr Thursday, 2 September 2010
  10. 10. Jison parser Compiler written in CoffeeScript http://jashkenas.github.com/coffee-script/ http://raphaeljs.com/ Warning: still pre-1.0 It is a moving target Thursday, 2 September 2010
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×