Skip to content

Instantly share code, notes, and snippets.

@matthieua
Created October 25, 2011 06:34
Show Gist options
  • Save matthieua/1311568 to your computer and use it in GitHub Desktop.
Save matthieua/1311568 to your computer and use it in GitHub Desktop.
CoffeeScript Presentation - Envato - 25/10/2011

CoffeeScript

http://img.anongallery.org/img/2/0/javascript-the-good-parts.jpg

Intro

  • 1.0 in December 24, 2010
  • Default in Rails 3.1
  • Current version 1.1.2
  • "It's just JavaScript"
  • Influence the future of JavaScript - Brendan Eich

Little Demo

  • Basic Examples
  • Classes
  • Refactoring
  • Workflow
  • Asset folder

Pros

  • More readable
  • Shorter
  • Easy to maintain
  • Encourages the use of good JavaScript patterns
  • Discourages JavaScript anti-patterns
  • Compile to the good parts and JsLint warning-free

Cons

  • Compilation
  • Debugging
  • Knowledge

When and who should be using it?

  • TDD/Heavy Scripts
  • Eventually for everything

Documentation

Learn

  • Peepcode screencast
  • The little book
  • Book (pragmatic bookshelf)
  • CoffeeScript Koans
  • js2coffee.org

Community

  • Github
  • Community @coffeescript/#coffeescript

Conclusion

Questions?

Thanks

Links

Demo https://gist.github.com/1311614

Official documentation http://jashkenas.github.com/coffee-script/

Peepcode Screencast https://peepcode.com/products/coffeescript

CoffeeScript Little Book http://arcturo.github.com/library/coffeescript/

CoffeeScript Koans https://github.com/sleepyfox/coffeescript-koans

js2coffee http://js2coffee.org/

CoffeeScript: Accelerated JavaScript Development Book ($29) http://pragprog.com/book/tbcoffee/coffeescript

Underscore.js http://documentcloud.github.com/underscore/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment