O'Reilly logo

CoffeeScript in Action by Patrick Lee

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

Chapter 1. The road to CoffeeScript

This chapter covers

  • Why CoffeeScript matters
  • How to get started
  • The evolution of JavaScript
  • Adapting to evolution by using CoffeeScript

CoffeeScript is a small, general-purpose programming language. It was created by Jeremy Ashkenas and first released in 2009. It’s a compiled language: you write your program in CoffeeScript and then use the compiler to translate it to an equivalent JavaScript program. When you run your program, it’s the compiled JavaScript that runs. Think of your CoffeeScript programs as being JavaScript programs underneath.

There are many programming languages that can compile to JavaScript, so many that they might even outnumber the programming languages that don’t compile to JavaScript. ...

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