O'Reilly logo

Sams Teach Yourself Node.js in 24 Hours by George Ornbo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hour 21. CoffeeScript

What You’ll Learn in This Hour:

• What CoffeeScript is and how you can use it

• What CoffeeScript offers over native JavaScript

• Using classes with CoffeeScript

• Some potential issues with using CoffeeScript

What Is CoffeeScript?

CoffeeScript is a pre-compiler for JavaScript written by Jeremy Ashkenas. It is designed with the following goals in mind:

• To clean up JavaScript syntax

• To provide a number of “goodies” for developers that add new features to JavaScript, taken from Ruby and Python

• To make JavaScript easier to use and to expose powerful features of the JavaScript programming language without the need to fully understand the quirks of JavaScript

The term pre-compiler means that CoffeeScript is a layer on ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required