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
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
音楽のための関数型プログラミング言語mimiumにおける多段階計算の活用
tomoyanonymous
1
350
SREの積み重ねがAI駆動開発のガードレールになった ― 7つの実践/SRE Guardrails The 7
tomoyakitaura
8
4.9k
AIキャラアプリkaiwaの低遅延音声通話基盤をどう作ったか - AWS Gravitonで支える低遅延・低コストAI Agent基盤
mogamit
0
180
分散システム、なんですぐ死んでしまうん?耐障害性を高めたいあなたのためのレジリエンスパターン入門
mshibuya
7
6.7k
ビデオ通話が繋がる0.2秒で何が起きているのか
supurazako
2
150
えっ!!コードを読まずに開発を!?
hananouchi
0
230
使用 Meilisearch 建立新聞搜尋工具
johnroyer
0
160
初めてのKubernetes 本番運用でハマった話
oku053
0
130
Hatena Engineer Seminar #37「言語モデルの活用に関する研究」
slashnephy
0
530
The Bowling Game- From Imperative to Functional Programming - Part 1
philipschwarz
PRO
0
340
関数型プログラミングのメリットって何だろう?
wanko_it
0
180
霧の中の代数的エフェクト
funnyycat
1
410
Featured
See All Featured
Un-Boring Meetings
codingconduct
0
350
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
1.1k
We Have a Design System, Now What?
morganepeng
55
8.2k
Skip the Path - Find Your Career Trail
mkilby
1
170
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
150
Docker and Python
trallard
47
4k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.2k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
640
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Designing for Performance
lara
611
70k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.8k
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