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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Luiz Freneda
June 18, 2015
Programming
0
42
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
49
Minuto Seguros - Git is love second edition
lfreneda
0
36
Minuto Seguros - Writing software Hands-On
lfreneda
0
55
LevelUp! Games - Web performance
lfreneda
0
46
LevelUp! Games - R# - What if I told you what I'm going to be N times more productive with R#?
lfreneda
0
37
Other Decks in Programming
See All in Programming
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
130
Fragmented Architectures
denyspoltorak
0
160
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
高速開発のためのコード整理術
sutetotanuki
1
400
Unicodeどうしてる? PHPから見たUnicode対応と他言語での対応についてのお伺い
youkidearitai
PRO
1
2.5k
CSC307 Lecture 09
javiergs
PRO
1
840
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
380
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
それ、本当に安全? ファイルアップロードで見落としがちなセキュリティリスクと対策
penpeen
7
3.9k
izumin5210のプロポーザルのネタ探し #tskaigi_msup
izumin5210
1
130
16年目のピクシブ百科事典を支える最新の技術基盤 / The Modern Tech Stack Powering Pixiv Encyclopedia in its 16th Year
ahuglajbclajep
5
1k
CSC307 Lecture 03
javiergs
PRO
1
490
Featured
See All Featured
The browser strikes back
jonoalderson
0
370
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
Between Models and Reality
mayunak
1
190
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
590
Side Projects
sachag
455
43k
Six Lessons from altMBA
skipperchong
29
4.1k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
Bash Introduction
62gerente
615
210k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.3k
Prompt Engineering for Job Search
mfonobong
0
160
For a Future-Friendly Web
brad_frost
182
10k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
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