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
鹿野さんに聞く!『TypeScriptコードレシピ集』で磨く実践力
tonkotsuboy_com
4
1.1k
AI時代の仕事技芸論〜ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ(スクフェス仙台 2026バージョン)
kuranuki
0
680
信頼性について考えてみる(SRE NEXT 2026 miniLT)
hayama17
0
200
初めてのKubernetes 本番運用でハマった話
oku053
0
130
Honoでのサプライチェーン侵害対策 〜 3つのライブラリに学ぶ
yusukebe
7
1.9k
フィードバックで育てるAI開発
kotaminato
1
120
PHP に部分適用が来るぞ!……ところで何それ?おいしいの? #phpcon / phpcon-2026
shogogg
0
320
The Bowling Game- From Imperative to Functional Programming - Part 1
philipschwarz
PRO
0
340
【SRE NEXT 2026 Lunch Session】一人目専任SREの立ち上げを加速する ― AIと進めたオンボーディングで2分を0.04秒にした話
pkshadeck
PRO
0
2.9k
ソフトウェア設計に溶けるインフラ ― AWS CDK のインフラ認識論
konokenj
2
600
ローカルLLMでどこまでコードが書けるか -縮小版 / How much code can be written on a local LLM Shortened
kishida
2
200
symfony/aiとlaravel/boost
77web
0
140
Featured
See All Featured
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
190
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
400
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.6k
Product Roadmaps are Hard
iamctodd
55
12k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.1k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
640
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.1k
Design in an AI World
tapps
1
260
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
390
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.3k
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