Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
CoffeeScript Patterns Explained - A walk throug...
Search
Dayton Nolan
October 06, 2012
Programming
0
220
CoffeeScript Patterns Explained - A walk through CoffeeScript generated JavaScript
Exploring the JavaScript patterns behind the CoffeeScript language.
Dayton Nolan
October 06, 2012
Tweet
Share
Other Decks in Programming
See All in Programming
Performance for Conversion! 分散トレーシングでボトルネックを 特定せよ
inetand
0
150
Testing Trophyは叫ばない
toms74209200
0
870
1から理解するWeb Push
dora1998
7
1.9k
開発チーム・開発組織の設計改善スキルの向上
masuda220
PRO
20
11k
Reading Rails 1.0 Source Code
okuramasafumi
0
190
Swift Updates - Learn Languages 2025
koher
2
470
複雑なドメインに挑む.pdf
yukisakai1225
5
1.2k
How Android Uses Data Structures Behind The Scenes
l2hyunwoo
0
450
「待たせ上手」なスケルトンスクリーン、 そのUXの裏側
teamlab
PRO
0
520
そのAPI、誰のため? Androidライブラリ設計における利用者目線の実践テクニック
mkeeda
2
300
[FEConf 2025] 모노레포 절망편, 14개 레포로 부활하기까지 걸린 1년
mmmaxkim
0
1.6k
Laravel Boost 超入門
fire_arlo
3
210
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
What's in a price? How to price your products and services
michaelherold
246
12k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
580
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Become a Pro
speakerdeck
PRO
29
5.5k
GraphQLの誤解/rethinking-graphql
sonatard
72
11k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.4k
Code Reviewing Like a Champion
maltzj
525
40k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.7k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
31
2.2k
Transcript
CoffeeScript Patterns Explained A walk through CoffeeScript generated JavaScript Saturday,
October 6, 12
My name is Dayton Nolan I work for Saturday, October
6, 12
Hello CoffeeScript Saturday, October 6, 12
Hoisting Saturday, October 6, 12
Saturday, October 6, 12
Function Declaration vs. Assignment Saturday, October 6, 12
Function body is hoisted with declaration. Function name only is
hoisted with assignment. Saturday, October 6, 12
JavaScript Arguments Saturday, October 6, 12
Saturday, October 6, 12
Dynamic function signatures Saturday, October 6, 12
CoffeeScript Splats Saturday, October 6, 12
CoffeeScript Splats !== Ruby Splats Saturday, October 6, 12
Saturday, October 6, 12
CoffeeScript Classes Saturday, October 6, 12
Saturday, October 6, 12
Closures and IIFE’s Saturday, October 6, 12
Global Scope Saturday, October 6, 12
Outer scope closes over the inner scope, creating a closure
Saturday, October 6, 12
Immediate execution promotes returned value to outer scope Saturday, October
6, 12
Class Pattern in JavaScript Public Interface Private Private Hoisted Saturday,
October 6, 12
JavaScript Inheritance Pattern Saturday, October 6, 12
CoffeeScript Fat Arrow Binding Reference Current Scope Saturday, October 6,
12
In JavaScript, managing scope is job #1 Saturday, October 6,
12
Thank You Saturday, October 6, 12