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
34
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
35
Minuto Seguros - Git is love second edition
lfreneda
0
28
Minuto Seguros - Writing software Hands-On
lfreneda
0
44
LevelUp! Games - Web performance
lfreneda
0
35
LevelUp! Games - R# - What if I told you what I'm going to be N times more productive with R#?
lfreneda
0
21
Other Decks in Programming
See All in Programming
2 週間で Twitter Bot を作ってみた
contour_gara
0
620
GitHub Copilotのススメ
marcy731
1
200
大規模UIKitベースアプリへのTCAの段階的導入/gradual-adoption-of-tca-in-a-large-scale-uikit-based-app
takehilo
1
180
VS Code をプロダクトにどう取り込むか
onomax
1
440
Random\Randomizer クラスで日常のあれこれを解決しよう! / Random\Randomizer class solves familiar trouble
cocoeyes02
0
250
0→1と1→10の狭間で Javaという技術選定を振り返る/Reflecting on the Decision to Choose Java Between Scaling from 0 to 1 and 1 to 10
jaguar_imo
2
390
Node.js v22 で変わること
yosuke_furukawa
PRO
9
3.5k
Blue/Greenデプロイの導入による 運用フローの改善
kudoas
1
390
Build Apps for iOS, Android & Desktop in 100% Kotlin With Compose Multiplatform (mDevCamp 2024)
zsmb
0
360
障害対応を起点としたもっといい開発と運用のサイクル作りのためにできること / Hatena Enginner Seminar #29
polamjag
0
240
Micro Frontends for Java Microservices - Devnexus 2024
mraible
PRO
0
500
SIMD Parallel Programming with the Vector API
josepaumard
0
190
Featured
See All Featured
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
21
1.6k
Designing for humans not robots
tammielis
248
25k
How to name files
jennybc
65
93k
5 minutes of I Can Smell Your CMS
philhawksworth
199
19k
Learning to Love Humans: Emotional Interface Design
aarron
267
39k
Facilitating Awesome Meetings
lara
42
5.6k
Intergalactic Javascript Robots from Outer Space
tanoku
266
26k
Typedesign – Prime Four
hannesfritz
36
2.1k
How GitHub (no longer) Works
holman
304
140k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
20
1.9k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
155
14k
Atom: Resistance is Futile
akmur
259
25k
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