A Case for CoffeeScript
brackets, parens and semicolons that bother me. It’s that I have to type
var that = this all over the place. I didn’t
it bugs the crap out of me. CoffeeScript is expressive. It’s loops,
comprehensions, splats and string interpolation are much cleaner than the
CoffeeScript, I don’t need to. I know that the compiled JS will always be
valid. It protects me from those JS got-cha’s like forgetting to put
missing a trailing comma on a object literal.
NO! CoffeeScript is an enhancement, not an alternative. It helps to have have
if you’re going to use CoffeeScript classes, you should take the time to
sense not to use classes, and it’s good to have the basic understanding of
operator, and CoffeeScripts’s list comprehensions are doing some really crazy
stuff behind the scenes that you should be aware of. Coffeescript won’t write
good code for you. That’s your job.
Gaslighters Chris Nelson and Kevin Rockwood will be holding a San Francisco instance of their Mastering Backbone training course on Dec 3 - 5. Check it out!