On October 23rd, 2014, we updated our
By continuing to use LinkedIn’s SlideShare service, you agree to the revised terms, so please take a few minutes to review them.
Let’s take a deep breathand try and have an open mind here...
What is a Trans-compiling Language? Language? Compile .coffee .js
Why should I care about CoffeeScript?
Question: How many of you use CoffeeScript?
Question: How many ofyou have used a modulewritten in CoffeeScript?
Isaac Schleuter (maintainer of Node.js / NPM) Node’s top contributors TJ Holowaychuk (express, Jade, Mocha) No Mikeal Rogers (Request) No No James Haliday "substack" (Browserify, dnode, Optimist) No Guillermo Rauch (Socket.IO) No No Aaron Heckmann (Mongoose) No No Nathan Rajich "Too Tall Nate" (node-gyp) No Marak Squires (Hook.io, pdf.js, color.js) No Felix Geisendörferhttp://procbits.com/2012/05/18/why-do-all-the-great-node-js-develope Tim Caswell (NVM)
And Yet...Larger Node Community Yes Currently ranked 4th as the most depended upon module in NPM More than Express! (just barely)
Give it a try! Installsudo npm install -g coffee-script Start the CoffeeScript REPLcoffee Compile a .coffee file into equivalent .jscoffee --compile <path to js file>Compile .coffee file when source changescoffee --watch --compile <path to js file> Compile and start file with Node.jscoffee --nodejs <path to node.js file>
Basic Node Connect Server
Uniformity Everything is an expression!
Language Enhancements Array Comprehension, Classes, and much more...
Mind the gap...
Mind the gap...
Punctuation Counts... OR
CoffeeScript Debugging Strategies
Mental Map Debugging “You wanted to write it in CoffeeScript, you figure it out.”