Monthly Archives: March 2014

CoffeeScript: Continuing Down the Rabbit Hole

Functions Functions are written differently in CoffeeScript than plain JavaScript. Firstly, in CS you cannot do function hello_world() { … } but rather all functions are set to a variable. Next Instead of writing the keyword function we simply use the parentheses to contain our parameters followed by a skinny arrow. (hyphen and greater than […]

CoffeeScript: Getting Started and Never Looking Back

So what is so great about CoffeeScript? Um… Everything. Ok you may need more than that, and rightly so. Here’s a basic overview. The bullet points: Cleaner code Less characters Variable binding Better looping Avoids “Callback Hell” If it doesn’t seem like much, look at it in a “Save me 10 minutes a day and […]