Categories
CoffeeScript JavaScript Programming

Getting Started with CoffeeScript: JavaScript’s Better Half

Introduction

I love JavaScript, but let's be honest – the syntax can be clunky. Verbose function declarations, confusing this binding, lack of classes, awkward loops. JavaScript is powerful, but it could be prettier.

CoffeeScript addresses this. Created by Jeremy Ashkenas (of Backbone.js and Underscore.js fame), CoffeeScript is a language that compiles to JavaScript. It keeps JavaScript's good parts while fixing the annoying bits.