Now that we’ve covered the boring stuff, like compiling and executing your CoffeeScript, we will start covering how to actually write it. Let’s dive right in.
In this chapter we are going to examine the syntax of CoffeeScript. We’ll look at punctuation, scope, variables, and a few other choice bits.
Much of CoffeeScript’s press has been due to its syntax, in particular its lack of punctuation. Punctuation such as curly braces and semicolons are extinct in the world of CoffeeScript, and parentheses are an endangered species.