Attempting to learn how to program using CoffeeScript