Your SlideShare is downloading. ×
0
CoffeeScript the Awesome
CoffeeScript the Awesome
CoffeeScript the Awesome
CoffeeScript the Awesome
CoffeeScript the Awesome
CoffeeScript the Awesome
CoffeeScript the Awesome
CoffeeScript the Awesome
CoffeeScript the Awesome
CoffeeScript the Awesome
CoffeeScript the Awesome
CoffeeScript the Awesome
CoffeeScript the Awesome
CoffeeScript the Awesome
CoffeeScript the Awesome
CoffeeScript the Awesome
CoffeeScript the Awesome
CoffeeScript the Awesome
CoffeeScript the Awesome
CoffeeScript the Awesome
CoffeeScript the Awesome
CoffeeScript the Awesome
CoffeeScript the Awesome
CoffeeScript the Awesome
CoffeeScript the Awesome
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

CoffeeScript the Awesome

1,373

Published on

Coffee

Coffee

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,373
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
22
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • We’ve all seen the funny photos. JavaScript is rough around the edges, very rough
  • Incuding the existential operator
  • Incuding the existential operator
  • Incuding the existential operator
  • Transcript

    • 1.
    • 2. CoffeeScript<br />The Awesome<br />
    • 3. “A Propos de Moi”<br />@kouphax<br />http://yobriefca.se<br />http://github.com/kouphax<br />
    • 4.
    • 5. A Few CoffeeScript Facts<br />Created by Jeremy Ashkenas circa late 2009<br />Spawned from reading “Create Your Own Programming Language”<br />CoffeeScript compiles to, and executes as, JavaScript in the browser.<br />CoffeeScript simply offers an initial compilation step prior to the JavaScript being interpreted – what's the harm in that?<br />CoffeeScript does not require you to abandon all your JS libraries<br />Yes you can still use jQuery or anything else you want<br />JavaScript produced by the CoffeeScript compiler is performant, valid and well formatted.<br />
    • 6. Debugging CoffeeScript directly is currently not possible so this adds another layer of complexity<br />In reality mapping between CoffeeScript and the generated JavaScript isn’t difficult<br />Could be considered just syntactical sugar with some extra syntax benefits<br />No more random semi-colon insertion<br />No more accidental global scoping of declarations<br />Scoping syntax built right in<br />Automatic “hoisting” of variable declarations<br />Not everyone is a massive fan<br />A Few (More) CoffeeScript Facts<br />
    • 7.
    • 8. Range Compreshension<br />English Notation<br />Variable Declaration<br />Function Declaration<br />String Interpolation<br />Function Call<br />Loop Comprehension<br />* Never do this in real life kthanxai<br />
    • 9.
    • 10. CoffeeScript: A Guided Tour<br />- or - <br />CoffeeScript: A Guided Tour of the Website, Pretty Much, Except in Slide Form but Not Because I am Lazy, No, More so Because It’s a Fairly Comprehensive Document of the Features of CoffeeScript.<br />
    • 11. Functions<br />
    • 12. Functions<br />
    • 13. Objects<br />
    • 14. Conditionals<br />
    • 15. Operators and Aliases<br />
    • 16. Splats<br />
    • 17. Loops and Comprehensions<br />
    • 18. Array Slicing and Ranges<br />
    • 19. Classes<br />
    • 20. Odds and Ends<br />
    • 21. Using CoffeeScript in .NET<br />- or - <br />What? You think we’d let those script kiddies have all the fun? Hells no!<br />
    • 22. Compile On Demand<br />Shameless Plug<br />(but I am distracting you through the use of Comic Sans)<br />…and others<br />
    • 23. Pre-compile<br />
    • 24.
    • 25. Questions?<br />

    ×