Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
CoffeeScript
Search
Jeroen Rosenberg
November 30, 2012
Programming
370
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
CoffeeScript
How about a nice BIG cup of CoffeeScript
Jeroen Rosenberg
November 30, 2012
More Decks by Jeroen Rosenberg
See All by Jeroen Rosenberg
Cooking your Ravioli "al dente" with Hexagonal Architecture
jeroenr
0
76
Apache Solr: Lessons Learned
jeroenr
2
110
Websocket on Rails
jeroenr
4
610
Stop thinking, go faster
jeroenr
2
230
Git
jeroenr
3
480
Provisioning with Vagrant & Puppet
jeroenr
5
840
Monit
jeroenr
2
240
Other Decks in Programming
See All in Programming
ActionController meets Protocol Buffers
sorah
0
630
月間100万人のサービス刷新で、 技術選定をHonoに振り切った話
yutobara
8
6.8k
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
dotNET_vulnclicker_intro.pdf
deka_morita
0
150
contenteditable と日本語入力に向き合う
colorful12
0
200
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
2
1k
Event is what happens
moro
2
1.1k
[2026-10-09]一枚の布で作らなくてもいい。 信頼性は「パッチワーク」で紡がれる~既存の運用と新しい可能性をつなぎ合わせてきたCREの話~
tosite
0
110
エージェントを使い続けるためのメタワーク / Meta-work for keeping using the agent
rkaga
1
520
R8 の設定見直しでアプリサイズ削減
andpad
0
220
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
410
自サークルのIdPからログアウトできるようになるまで
taiseiue
1
140
Featured
See All Featured
The Invisible Side of Design
smashingmag
301
52k
The Language of Interfaces
destraynor
162
27k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.9k
How to Ace a Technical Interview
jacobian
280
24k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
Building Adaptive Systems
keathley
44
3.3k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
730
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Evolving SEO for Evolving Search Engines
ryanjones
0
330
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
59k
Amusing Abliteration
ianozsvald
1
350
Transcript
None
None
"It's just JavaScript" coated with syntax sugar
CoffeeScript attempts to expose those 'good parts' Did you notice?
#nuffsaid it's quite thin
But its core is gooooood
CoffeeScript attempts to expose those 'good parts' CoffeeScript exposes those
'good parts'
CoffeeScript attempts to expose those 'good parts'
Ruby Python Haskell
# prototyping String::downCase = -> @toLowerCase() # functions, chained comparison
isMyAge = (age) -> 24 < age < 26 # splat arguments, pattern matching unCapitalize = (words...) -> (words.map ([firstChar, rest...]) -> firstChar.downCase() + rest.join '').join '' # destructuring assignment, function binding Me = ([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 ' ')
#nuffsaid
word.spread! for people in continents[..] when people isnt aware