SlideShare a Scribd company logo
1 of 18
Download to read offline
coffeescript
unfancy javascript
Dimitris Tsironis
CEO & Founder at Geembo




         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
Jeremy Ashkenas
backbone.js & coffeescript
        creator
Philosophy

    code is art
    ruby’s syntax rocks
    less is more
    verbal syntax
    it’s javascript after all
LIAR
We want some proof!
let’s see some code!
code examples straight from the oven
code example #1
  search.js.coffee
code example #2
  setting.js.coffee
code example #3
 Multiply an array

                      or

 Search in a string




 Happy Birthday!
how we use it
everyday workflow magic
workflow

   Rails (with Asset Pipeline)
   gem install coffee-script
   npm install -g coffee-script
   Codekit
Coffeescript on Rails

      seamless compile on development
      minify and concatenation
      backbone-on-rails gem!
      same philosophy as Ruby
hubot
the first coffeescript butler
Hubot

        coffeescript on node.js
    Github’s robot for stuff

    mainly, finds you kittens and
    embarrassing 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
Thanks!
@tsironakos
@geembohq

More Related Content

Viewers also liked

Nipah photos and floor plan
Nipah photos and floor planNipah photos and floor plan
Nipah photos and floor planHenry Loh
 
музей школи
музей школимузей школи
музей школиmax_iwan
 
Barley residences site
Barley residences siteBarley residences site
Barley residences siteHenry Loh
 
Go girl 2016 Tech Girls Movement
Go girl 2016 Tech Girls MovementGo girl 2016 Tech Girls Movement
Go girl 2016 Tech Girls MovementJenine Beekhuyzen
 
Bungalow @ meyer
Bungalow @ meyerBungalow @ meyer
Bungalow @ meyerHenry Loh
 
Landing Pages Basics: What, Why and How
Landing Pages Basics: What, Why and HowLanding Pages Basics: What, Why and How
Landing Pages Basics: What, Why and HowKate Kotenko Lengold
 
HTML+CSS: how to get started
HTML+CSS: how to get startedHTML+CSS: how to get started
HTML+CSS: how to get startedDimitris Tsironis
 
Pdhpe rationale
Pdhpe rationalePdhpe rationale
Pdhpe rationaleamira24
 
Fall 2012, Class 02
Fall 2012, Class 02Fall 2012, Class 02
Fall 2012, Class 02rscohen1
 
Jewella at Disrupt Sydney September 2015
Jewella at Disrupt Sydney September 2015Jewella at Disrupt Sydney September 2015
Jewella at Disrupt Sydney September 2015Jenine Beekhuyzen
 
2 4 ottimizzazione_vita_prodotti_vezzoli_polimi_12.13 (11)
2 4 ottimizzazione_vita_prodotti_vezzoli_polimi_12.13 (11)2 4 ottimizzazione_vita_prodotti_vezzoli_polimi_12.13 (11)
2 4 ottimizzazione_vita_prodotti_vezzoli_polimi_12.13 (11)elisa_bacchetti
 
Urban residences photos
Urban residences photosUrban residences photos
Urban residences photosHenry Loh
 
Investigación y diseño arkhea
Investigación y diseño arkheaInvestigación y diseño arkhea
Investigación y diseño arkheaARKHEA
 
Sound n seawind
Sound n seawindSound n seawind
Sound n seawindHenry Loh
 

Viewers also liked (20)

Nipah photos and floor plan
Nipah photos and floor planNipah photos and floor plan
Nipah photos and floor plan
 
lionel messi
lionel messilionel messi
lionel messi
 
software nmap
 software nmap software nmap
software nmap
 
музей школи
музей школимузей школи
музей школи
 
مته های حفاری
مته های حفاریمته های حفاری
مته های حفاری
 
Barley residences site
Barley residences siteBarley residences site
Barley residences site
 
Introducing me
Introducing meIntroducing me
Introducing me
 
Go girl 2016 Tech Girls Movement
Go girl 2016 Tech Girls MovementGo girl 2016 Tech Girls Movement
Go girl 2016 Tech Girls Movement
 
Bungalow @ meyer
Bungalow @ meyerBungalow @ meyer
Bungalow @ meyer
 
Como preparar mis_clases
Como preparar mis_clasesComo preparar mis_clases
Como preparar mis_clases
 
Landing Pages Basics: What, Why and How
Landing Pages Basics: What, Why and HowLanding Pages Basics: What, Why and How
Landing Pages Basics: What, Why and How
 
Lecture notes5
Lecture notes5Lecture notes5
Lecture notes5
 
HTML+CSS: how to get started
HTML+CSS: how to get startedHTML+CSS: how to get started
HTML+CSS: how to get started
 
Pdhpe rationale
Pdhpe rationalePdhpe rationale
Pdhpe rationale
 
Fall 2012, Class 02
Fall 2012, Class 02Fall 2012, Class 02
Fall 2012, Class 02
 
Jewella at Disrupt Sydney September 2015
Jewella at Disrupt Sydney September 2015Jewella at Disrupt Sydney September 2015
Jewella at Disrupt Sydney September 2015
 
2 4 ottimizzazione_vita_prodotti_vezzoli_polimi_12.13 (11)
2 4 ottimizzazione_vita_prodotti_vezzoli_polimi_12.13 (11)2 4 ottimizzazione_vita_prodotti_vezzoli_polimi_12.13 (11)
2 4 ottimizzazione_vita_prodotti_vezzoli_polimi_12.13 (11)
 
Urban residences photos
Urban residences photosUrban residences photos
Urban residences photos
 
Investigación y diseño arkhea
Investigación y diseño arkheaInvestigación y diseño arkhea
Investigación y diseño arkhea
 
Sound n seawind
Sound n seawindSound n seawind
Sound n seawind
 

Similar to Coffeescript unfancy javascript

Why I will never write JavaScript ever again*
Why I will never write JavaScript ever again*Why I will never write JavaScript ever again*
Why I will never write JavaScript ever again*The Wolff
 
Writing Bullet-Proof Javascript: By Using CoffeeScript
Writing Bullet-Proof Javascript: By Using CoffeeScriptWriting Bullet-Proof Javascript: By Using CoffeeScript
Writing Bullet-Proof Javascript: By Using CoffeeScriptSusan Potter
 
Happy Programming with CoffeeScript
Happy Programming with CoffeeScriptHappy Programming with CoffeeScript
Happy Programming with CoffeeScriptEddie Kao
 
End to-End CoffeeScript
End to-End CoffeeScriptEnd to-End CoffeeScript
End to-End CoffeeScriptTrevorBurnham
 
Rails Vs CakePHP
Rails Vs CakePHPRails Vs CakePHP
Rails Vs CakePHPGautam Rege
 
Why you should build your own JS Frontend Framework
Why you should build your own JS Frontend FrameworkWhy you should build your own JS Frontend Framework
Why you should build your own JS Frontend Frameworkbaccigalupi
 
Why you should be excited about ClojureScript
Why you should be excited about ClojureScriptWhy you should be excited about ClojureScript
Why you should be excited about ClojureScriptelliando dias
 
Letter to a Junior Developer: The Engineering Side of Programming
Letter to a Junior Developer: The Engineering Side of ProgrammingLetter to a Junior Developer: The Engineering Side of Programming
Letter to a Junior Developer: The Engineering Side of ProgrammingLazar Kovacevic
 
Quo vadis, JavaScript? Devday.pl keynote
Quo vadis, JavaScript? Devday.pl keynoteQuo vadis, JavaScript? Devday.pl keynote
Quo vadis, JavaScript? Devday.pl keynoteChristian Heilmann
 
CoffeeScript: A beginner's presentation for beginners copy
CoffeeScript: A beginner's presentation for beginners copyCoffeeScript: A beginner's presentation for beginners copy
CoffeeScript: A beginner's presentation for beginners copyPatrick Devins
 
What would your own version of Ruby look like?
What would your own version of Ruby look like?What would your own version of Ruby look like?
What would your own version of Ruby look like?Hung Wu Lo
 
Why we (Day) open source most of our code
Why we (Day) open source most of our codeWhy we (Day) open source most of our code
Why we (Day) open source most of our codeBertrand Delacretaz
 
CoffeeScript: The Good Parts
CoffeeScript: The Good PartsCoffeeScript: The Good Parts
CoffeeScript: The Good PartsC4Media
 
Exploring Ruby on Rails and PostgreSQL
Exploring Ruby on Rails and PostgreSQLExploring Ruby on Rails and PostgreSQL
Exploring Ruby on Rails and PostgreSQLBarry Jones
 

Similar to Coffeescript unfancy javascript (20)

Coffee script throwdown
Coffee script throwdownCoffee script throwdown
Coffee script throwdown
 
Why I will never write JavaScript ever again*
Why I will never write JavaScript ever again*Why I will never write JavaScript ever again*
Why I will never write JavaScript ever again*
 
Writing Bullet-Proof Javascript: By Using CoffeeScript
Writing Bullet-Proof Javascript: By Using CoffeeScriptWriting Bullet-Proof Javascript: By Using CoffeeScript
Writing Bullet-Proof Javascript: By Using CoffeeScript
 
Happy Programming with CoffeeScript
Happy Programming with CoffeeScriptHappy Programming with CoffeeScript
Happy Programming with CoffeeScript
 
End to-End CoffeeScript
End to-End CoffeeScriptEnd to-End CoffeeScript
End to-End CoffeeScript
 
Rails Vs CakePHP
Rails Vs CakePHPRails Vs CakePHP
Rails Vs CakePHP
 
Why you should build your own JS Frontend Framework
Why you should build your own JS Frontend FrameworkWhy you should build your own JS Frontend Framework
Why you should build your own JS Frontend Framework
 
Why you should be excited about ClojureScript
Why you should be excited about ClojureScriptWhy you should be excited about ClojureScript
Why you should be excited about ClojureScript
 
Smooth CoffeeScript
Smooth CoffeeScriptSmooth CoffeeScript
Smooth CoffeeScript
 
Letter to a Junior Developer: The Engineering Side of Programming
Letter to a Junior Developer: The Engineering Side of ProgrammingLetter to a Junior Developer: The Engineering Side of Programming
Letter to a Junior Developer: The Engineering Side of Programming
 
Quo vadis, JavaScript? Devday.pl keynote
Quo vadis, JavaScript? Devday.pl keynoteQuo vadis, JavaScript? Devday.pl keynote
Quo vadis, JavaScript? Devday.pl keynote
 
Novajs
NovajsNovajs
Novajs
 
CoffeeScript: A beginner's presentation for beginners copy
CoffeeScript: A beginner's presentation for beginners copyCoffeeScript: A beginner's presentation for beginners copy
CoffeeScript: A beginner's presentation for beginners copy
 
Brunch With Coffee
Brunch With CoffeeBrunch With Coffee
Brunch With Coffee
 
What would your own version of Ruby look like?
What would your own version of Ruby look like?What would your own version of Ruby look like?
What would your own version of Ruby look like?
 
Ruby - The Hard Bits
Ruby - The Hard BitsRuby - The Hard Bits
Ruby - The Hard Bits
 
Walter api
Walter apiWalter api
Walter api
 
Why we (Day) open source most of our code
Why we (Day) open source most of our codeWhy we (Day) open source most of our code
Why we (Day) open source most of our code
 
CoffeeScript: The Good Parts
CoffeeScript: The Good PartsCoffeeScript: The Good Parts
CoffeeScript: The Good Parts
 
Exploring Ruby on Rails and PostgreSQL
Exploring Ruby on Rails and PostgreSQLExploring Ruby on Rails and PostgreSQL
Exploring Ruby on Rails and PostgreSQL
 

Coffeescript unfancy javascript