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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Dayton Nolan
October 06, 2012
Programming
230
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
CoffeeScript Patterns Explained - A walk through CoffeeScript generated JavaScript
Exploring the JavaScript patterns behind the CoffeeScript language.
Dayton Nolan
October 06, 2012
Other Decks in Programming
See All in Programming
ECSアプリログをFireLensでコスト削減しようとしたけど諦めた話 in Fargate×Node.js
akihisaikeda
2
4.2k
Oxlintのカスタムルールの現況
syumai
6
1.2k
Webフレームワークの ベンチマークについて
yusukebe
0
180
Inside Stream API
skrb
1
770
dRuby over BLE
makicamel
2
390
AI 輔助遺留系統現代化的經驗分享
jame2408
1
1k
スマートグラスで並列バイブコーディング
hyshu
0
260
Honoでのサプライチェーン侵害対策 〜 3つのライブラリに学ぶ
yusukebe
7
1.4k
TypeScript+Orvalで実現する型安全かつ堅牢でスケーラブルなマルチチャネル通知基盤 / TSKaigi Night talks ~after conference~
d0riven
0
360
軽量Java基盤の設計 DIコンテナに頼らない、長期保守と1秒起動の実現 JJUG CCC 2026 Spring
macha64
0
570
RTSPクライアントを自作してみた話
simotin13
0
630
不変条件と整合性境界—ビジネスが決める設計判断と実現パターン / Invariants and Consistency Boundaries
nrslib
14
5.8k
Featured
See All Featured
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
450
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.5k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
Why Our Code Smells
bkeepers
PRO
340
58k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Heart Work Chapter 1 - Part 1
lfama
PRO
8
36k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
How STYLIGHT went responsive
nonsquared
100
6.2k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.2k
Code Review Best Practice
trishagee
74
20k
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