HTML5 Zone is brought to you in partnership with:

Chris Smith writes coffeescriptlove.com, a fan blog dedicated to that devastatingly elegant "little language that compiles into JavaScript." He loves programming, and software development in general, with a career arc that traces the ascendance of Java, then that of Ruby on Rails, and is now aligning with the power and possibilities of today's browser technologies. He is currently writing an interactive ebook on Backbone.js and CoffeeScript (backbonecoffeescript.com). Chris is a DZone MVB and is not an employee of DZone and has posted 18 posts at DZone. You can read more from them at their website. View Full User Profile

"I Never Want to Write Plain JavaScript Again"

01.31.2012
| 3542 views |
  • submit to reddit

These are the words of legendary open-source JavaScript developer Sam Stephenson in a recent talk on CoffeeScript at FOWA 2011. The 45-minute presentation (video is here, slides are here) chronicles the evolution of higher-level approaches to JavaScript, including GWT, Pyjamas, Objective-J, and finally CoffeeScript. If you've been on the fence with CoffeeScript, this could be the one to tip you. If you're just learning CoffeeScript, it is a great, thoughtful, well-paced introduction to the language. Sam structures the rest of the talk around "10 Things I Love About CoffeeScript."

Here are Sam's top ten favorite things about CoffeeScript:

  1. Function Syntax
  2. Significant Whitespace
  3. Bare Objects
  4. Everything's an Expression
  5. Comprehensions
  6. Classes & Inheritance
  7. Bound Functions
  8. Conditionals
  9. Destructuring Assignment
  10. String Syntax

 

Source: http://www.coffeescriptlove.com/2012/01/i-never-want-to-write-plain-javascript.html

Published at DZone with permission of Chris Smith, author and DZone MVB.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)