CoffeeScript for the Rubyist
summary
Explains that CoffeeScript compiles to idiomatic JavaScript and integrates with Rails, Sinatra and Node, shows concrete tools and workflows: js2coffee for conversion, Mocha/Chai plus Konacha for testing, and source maps for debugging. Demonstrates specific language features that matter: fat arrow binding this to preserve context, @ for auto-assigning instance variables, ranges/comprehensions, heredocs and interpolated strings, classes that emit prototype boilerplate, and the existential operator ?; reveals the odd cutoff of 22 when ranges switch to a loop.
AI-written summary · about
chapters (19)
- 0:00Start
- 3:42What is CoffeeScript?
- 5:14What CoffeeScript Is Not?
- 9:50Syntax Rules
- 10:44Parentheses Rules
- 12:09Whitespace
- 13:59Conditionals
- 14:18Objects/Hashes
- 15:20String Interpolation
- 15:33Heredocs
- 17:28Loops & Comprehensions
- 23:52Extending Classes
- 24:52Bound Functions
- 28:10Existential Operator
- 30:19The Raven
- 31:28Matt Aimonetti
- 32:14Corey Haines
- 32:54Konstantin Haase
- 33:31What Didn't I Cover?








