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
0
41
LevelUp! Games - Coffeescript keeps you awake
A coffescript introduction
Luiz Freneda
June 18, 2015
Tweet
Share
More Decks by Luiz Freneda
See All by Luiz Freneda
Managing database revisions in .Net
lfreneda
0
47
Minuto Seguros - Git is love second edition
lfreneda
0
35
Minuto Seguros - Writing software Hands-On
lfreneda
0
54
LevelUp! Games - Web performance
lfreneda
0
44
LevelUp! Games - R# - What if I told you what I'm going to be N times more productive with R#?
lfreneda
0
35
Other Decks in Programming
See All in Programming
脳の「省エネモード」をデバッグする ~System 1(直感)と System 2(論理)の切り替え~
panda728
PRO
0
130
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
550
メルカリのリーダビリティチームが取り組む、AI時代のスケーラブルな品質文化
cloverrose
2
430
PostgreSQLで手軽にDuckDBを使う!DuckDB&pg_duckdb入門/osc25hi-duckdb
takahashiikki
0
230
Rubyで鍛える仕組み化プロヂュース力
muryoimpl
0
260
Cap'n Webについて
yusukebe
0
160
Jetpack XR SDKから紐解くAndroid XR開発と技術選定のヒント / about-androidxr-and-jetpack-xr-sdk
drumath2237
1
230
愛される翻訳の秘訣
kishikawakatsumi
3
360
開発に寄りそう自動テストの実現
goyoki
2
1.6k
Context is King? 〜Verifiability時代とコンテキスト設計 / Beyond "Context is King"
rkaga
10
1.5k
新卒エンジニアのプルリクエスト with AI駆動
fukunaga2025
0
240
マスタデータ問題、マイクロサービスでどう解くか
kts
0
170
Featured
See All Featured
A designer walks into a library…
pauljervisheath
210
24k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.2k
Technical Leadership for Architectural Decision Making
baasie
0
200
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
0
220
We Have a Design System, Now What?
morganepeng
54
8k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
200
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
37
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
34
Design in an AI World
tapps
0
100
Getting science done with accelerated Python computing platforms
jacobtomlinson
0
85
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