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
45
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
43
LevelUp! Games - R# - What if I told you what I'm going to be N times more productive with R#?
lfreneda
0
34
Other Decks in Programming
See All in Programming
퇴근 후 1억이 거래되는 서비스 만들기 | 내가 AI를 사용하는 방법
maryang
2
400
Amazon ECS Managed Instances が リリースされた!キャッチアップしよう!! / Let's catch up Amazon ECS Managed Instances
cocoeyes02
0
130
CSC305 Lecture 13
javiergs
PRO
0
350
実践Claude Code:20の失敗から学ぶAIペアプログラミング
takedatakashi
18
9.4k
AsyncSequenceとAsyncStreamのプロポーザルを全部読む!!
s_shimotori
1
230
CSC509 Lecture 07
javiergs
PRO
0
250
AIのバカさ加減に怒る前にやっておくこと
blueeventhorizon
0
140
SidekiqでAIに商品説明を生成させてみた
akinko_0915
0
110
Temporal Knowledge Graphで作る! 時間変化するナレッジを扱うAI Agentの世界
po3rin
5
1.2k
Inside of Swift Export
giginet
PRO
1
330
オンデバイスAIとXcode
ryodeveloper
0
380
React Nativeならぬ"Vue Native"が実現するかも?_新世代マルチプラットフォーム開発フレームワークのLynxとLynxのVue.js対応を追ってみよう_Vue Lynx
yut0naga1_fa
2
2k
Featured
See All Featured
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Typedesign – Prime Four
hannesfritz
42
2.9k
Six Lessons from altMBA
skipperchong
29
4k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Faster Mobile Websites
deanohume
310
31k
Product Roadmaps are Hard
iamctodd
PRO
55
11k
The Cult of Friendly URLs
andyhume
79
6.7k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
10
910
The Cost Of JavaScript in 2023
addyosmani
55
9.1k
BBQ
matthewcrist
89
9.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