Coffee Script
Coffee Script
who am i
Adi Baron
@AdiBaron [email protected]
Tikal
what up?
what up?
JavaScript Overview
what up?
JavaScript Overview CoffeeScript
what up?
JavaScript Overview CoffeeScript Awesome (?)
JavaScript Overview
OOP & FP
Global Variables
with
with
with
Type Casting
Type Casting
Type Casting
Type Casting
Type Casting
Type Casting
Auto Semicolon
Auto Semicolon
Auto Semicolon
John McCarthy
John McCarthy
Dennis Ritchie
Dennis Ritchie
Bjarne Stroustrup
Bjarne Stroustrup
James Gosling
James Gosling
Brendan Eich
Brendan Eich
?
Friday, February 24, 12
Anders Hejlsberg
Anders Hejlsberg
?
Friday, February 24, 12
Larry Wall
Larry Wall
?!
Friday, February 24, 12
Douglas Crockford
Douglas Crockford
use strict;
use strict;
use strict;
Assigning to global vars - RefErr
no `with` statement
CoffeeScript
NOTE!
NOTE!
NOTE!
You need to know JavaScript!
No performance issues!
Functions
Functions
Functions
Functions
Arguments
Functions
Default arguments
Functions
Splats...
Functions
Invocation
Functions
Context
Object Literals
Arrays
Destruct Assignments
What if...
What if...
What if...
What if...
What if...
What if...
What if...
What if...
String Interpolation
Heredocs
Aliases
@ is `this
:: is prototype
Existential Operator
Classes
Cake
References
The Little Book on JavaScript JavaScript Garden Bodil Sokke