coffeescript unfancy javascript
TRANSCRIPT
coff"scriptunfancy javascript
CEO & Founder at Geembo
Dimitris Tsironis
boo!!
what’s this about?
Coffeescript (duh!)
“Pragmatic” coffeescript
How we use it
Explore new stuff
Open-source
A little language
that compiles into javascript
backbone.js & coffeescriptcreator
Jeremy Ashkenas
Philosophy
code is art
ruby’s syntax rocks
less is more
verbal syntax
it’s javascript after all
We want some proof!
LIAR
code examples straight from the oven
let’s s" some code!
code example #1search.js.coffee
code example #2setting.js.coffee
code example #3
Multiply an array
or
Search in a string
Happy Birthday!
everyday workflow magic
how we use it
workflow
Rails (with Asset Pipeline)
gem install coffee-script
npm install -g coffee-script
Codekit
Coff"script on Rails
seamless compile on development
minify and concatenation
backbone-on-rails gem!
same philosophy as Ruby
the first coffeescript butler
hubot
Hubot
coffeescript on node.js
Github’s robot for stuff
mainly, finds you kittens andembarrassing photos
totally open-source
easily extensible (see docs)
Resources
http://coffeescript.org
Codeschool course
A little book for Coffeescript
http://js2coffee.org
http://www.ricardo.cc/2011/06/02/10-CoffeeScript-One-Liners-to-Impress-Your-Friends.html
@tsironakos
Thanks!
@geembohq