close

12 Devs of Xmas

Welcome to the 12 Devs of Xmas, 12 insightful articles introducing you to new and exciting things in the world of web development.

Day 5: Add some caffeine to your JS with CoffeeScript

There are a lot of CoffeeScript guides out there. I’ve even written some myself. When I was asked to contribute to the 12 Devs of Xmas with a piece on CoffeeScript, I was keen but knew I needed to take a different angle on it. So I’ve decided that instead of slowly introducing you to CoffeeScript from the base up and writing some typical “Hello World” (does anyone learn from that, really?) I’ve taken a simple piece of JavaScript I’ve written, and together we’ll convert it to CoffeeScript. The original JavaScript and the CoffeeScript rewrite will be available from Github so you can play around to your heart’s content.

by Jack Franklin