Slides from my intro to coffeescript talk, given at Phoenix Javascript Meetup on Dec. 5th, 2012 at UAT
Video available at http://www.youtube.com/watch?v=pXZ7hGzDOF0
13. READS LIKE ENGLISH
atetctd=tu uls acuti fle
uhniae re nes con s as
i nmi 1
f u s 3
aet"inr"
lr wne!
wne =tu i pc i [1,3,8 ]
inr re f ik n 2 7 8
14. EASY TO UNDERSTAND
us
SHORTCUTS
nm =[.1]
1.0
aet"yfvrt nme i #nm[]"
lr M aoie ubr s {us3}
casPro
ls esn
cntutr (nm)-
osrco: @ae >
gtae -
eNm: >
@ae
nm
15. CLEAN SYNTAX
Well formatted code
Easier to read
Easier to maintain
Less typing, less errors
Fun to write
21. MANY "WEIRD" PARTS
ARE OPTIONAL
Omitting r t r
eun
Using i , i n to , a detc
s s o, r n,
Removing commas in arrays
Removing commas and brackets in objects
Dropping parens on function calls
26. CLASS INHERITANCE
Coffeescript.org
ES6 style class inheritance
Makes s p rvery easy to use
ue
Simpler class
Class like you're probably used to
No b n or e t n required
id xed
Fair JS version
Creates b n and e t n smethods
id xed
Still calls s p r
ue
Whole lotta mess
28. ANOTHER SYNTAX TO
LEARN
Not pure JS
Could complicate hiring/consulting
Pretty easy if you know JS
Maybe you should hire better
29. REQUIRES COMPILING
(MOST OF THE TIME)
Adds another step to development and deployment
Build process: c f e , grunt, make/jake, etc
ofe
Asset pipeline: connect-assets
Runtimes: n d - e
oedv
Hosting: heroku, nodester, nodejitsu