coffeescript
DESCRIPTION
How about a nice BIG cup of CoffeeScriptTRANSCRIPT
![Page 1: CoffeeScript](https://reader033.vdocument.in/reader033/viewer/2022060110/555a2837d8b42a900d8b49e1/html5/thumbnails/1.jpg)
![Page 2: CoffeeScript](https://reader033.vdocument.in/reader033/viewer/2022060110/555a2837d8b42a900d8b49e1/html5/thumbnails/2.jpg)
![Page 3: CoffeeScript](https://reader033.vdocument.in/reader033/viewer/2022060110/555a2837d8b42a900d8b49e1/html5/thumbnails/3.jpg)
"It's just JavaScript"
coated with syntax sugar
![Page 4: CoffeeScript](https://reader033.vdocument.in/reader033/viewer/2022060110/555a2837d8b42a900d8b49e1/html5/thumbnails/4.jpg)
CoffeeScript attempts to expose those 'good parts'
Didyounotice?
![Page 5: CoffeeScript](https://reader033.vdocument.in/reader033/viewer/2022060110/555a2837d8b42a900d8b49e1/html5/thumbnails/5.jpg)
#nuffsaidit's quite thin
![Page 6: CoffeeScript](https://reader033.vdocument.in/reader033/viewer/2022060110/555a2837d8b42a900d8b49e1/html5/thumbnails/6.jpg)
But its core is gooooood
![Page 7: CoffeeScript](https://reader033.vdocument.in/reader033/viewer/2022060110/555a2837d8b42a900d8b49e1/html5/thumbnails/7.jpg)
CoffeeScript attempts to expose those 'good parts'
CoffeeScript exposes those
'good parts'
![Page 8: CoffeeScript](https://reader033.vdocument.in/reader033/viewer/2022060110/555a2837d8b42a900d8b49e1/html5/thumbnails/8.jpg)
CoffeeScript attempts to expose those 'good parts'
![Page 9: CoffeeScript](https://reader033.vdocument.in/reader033/viewer/2022060110/555a2837d8b42a900d8b49e1/html5/thumbnails/9.jpg)
RubyPythonHaskell
![Page 10: CoffeeScript](https://reader033.vdocument.in/reader033/viewer/2022060110/555a2837d8b42a900d8b49e1/html5/thumbnails/10.jpg)
# prototypingString::downCase = -> @toLowerCase()
# functions, chained comparisonisMyAge = (age) ->
24 < age < 26
# splat arguments, pattern matchingunCapitalize = (words...) ->
(words.map ([firstChar, rest...]) -> firstChar.downCase() + rest.join '').join ''
# destructuring assignment, function bindingMe = ([surname, middlenames..., lastname] ) -> # string interpolation
@name = "#{surname} #{lastname}"
# everything is an expression@age = if isMyAge(x = 25) then x else '?' @twitter = unCapitalize('@', surname, lastname)
# use jQuery (or any JavaScript library), multi line Strings$('#welcome').bind 'click' (event) => alert "Hello,
I'm #{@name}!"# there's no var!!me = Me("Jeroen Matthijs Rosenberg".split ' ')
![Page 11: CoffeeScript](https://reader033.vdocument.in/reader033/viewer/2022060110/555a2837d8b42a900d8b49e1/html5/thumbnails/11.jpg)
#nuffsaid
![Page 12: CoffeeScript](https://reader033.vdocument.in/reader033/viewer/2022060110/555a2837d8b42a900d8b49e1/html5/thumbnails/12.jpg)
word.spread! for people in continents[..] when people isnt aware