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
LevelUp! Games - Coffeescript keeps you awake
Search
Luiz Freneda
June 18, 2015
Programming
47
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
LevelUp! Games - Coffeescript keeps you awake
A coffescript introduction
Luiz Freneda
June 18, 2015
More Decks by Luiz Freneda
See All by Luiz Freneda
Managing database revisions in .Net
lfreneda
0
54
Minuto Seguros - Git is love second edition
lfreneda
0
39
Minuto Seguros - Writing software Hands-On
lfreneda
0
57
LevelUp! Games - Web performance
lfreneda
0
50
LevelUp! Games - R# - What if I told you what I'm going to be N times more productive with R#?
lfreneda
0
43
Other Decks in Programming
See All in Programming
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
550
生成AI導入の「期待外れ」を乗り越える ー 開発フロー改革が目指す、真の組織変革
starfish719
0
4.1k
【やさしく解説 設計編・中級 #4】ルールの寿命と、システムの年輪
panda728
PRO
2
180
SlackアプリとLambdaの 連携を構築した話
pawn_4_s
1
110
ドリフトを絶対に許さない(?)CDK運用 / CDK Ops with Zero Tolerance for Drifts (?)
akihisaikeda
1
180
komatsuna「分散システムにおけるバグ分析手法」
komatsunaqa
0
250
変わらないものが、変わるものを決める — 意図駆動開発 × イベントソーシング × イミュータブル | What Doesn't Change Decides What Can — IDD × Event Sourcing × Immutability
tomohisa
0
1.4k
Go言語とトイモデルで学ぶTransformerの気持ち / fukuokago23-transformer
monochromegane
0
160
ビデオ通話が繋がる0.2秒で何が起きているのか
supurazako
2
180
全PRの83%がAIレビューだけでマージできるようになった開発組織はその後どうなったか
athug
1
1.5k
テーブルをDELETEした
yuzneri
0
140
夏だ!祭りだ!祭りとはドメインモデリングでは?
ryugen04
0
210
Featured
See All Featured
Ethics towards AI in product and experience design
skipperchong
2
340
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
2
3.7k
How to build a perfect <img>
jonoalderson
1
5.9k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
BBQ
matthewcrist
89
10k
Accessibility Awareness
sabderemane
1
170
Chasing Engaging Ingredients in Design
codingconduct
0
260
How STYLIGHT went responsive
nonsquared
100
6.2k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
340
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
170
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
650
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.9k
Transcript
None
None
None
Coffeescript
“A little language that compiles in Javascript” - coffeescript.org “A
programming language that transcompiles to JavaScript” - Wikipedia
“It's just Javascript!” - Jeremy Ashkenas
So what?
Anywhere you use Javascript..
None
JeremyAshkenas = [ "Underscore", "Backbone", "Coffeescript" ]
Created in 2009 ~ but bOOOmm in 2011 !
What’s so special about it? @w@
The language adds syntactic sugar inspired by Ruby, Python and
Haskell
None
Less NOISE no semicolons, no braces, no var, no function
Coffeescript is a quieter Javascript :P
Ship.prototype.right = function (move) { return this.keys.right = move; };
right: (move) -> @keys.right = move
Write LESS
this
“string #{interpolation}”
Classes
Statement Modifiers
Operators is, isnt, in, on, off, unless
Comprehensions foods = ['broccoli', 'spinach', 'chocolate'] eat food for food
in foods when food isnt 'chocolate'
None
Compilated Javascript > Handed Javascript
Learn Javascript with Coffeescript
How to install?
How it works?
Can I write Javascript in a coffeescript file?
Can I write inline Coffeescript instead inline Javascript?
Let’s write coffeescript code.
IMHO
Want to learn?
1. Syntax 2. Code