~/talk

CoffeeScript for the Rubyist

Talkat Aloha RubyConf 2012 · 2012-10-08..10-09· [javascript]
slides:none on file

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

  1. 0:00Start
  2. 3:42What is CoffeeScript?
  3. 5:14What CoffeeScript Is Not?
  4. 9:50Syntax Rules
  5. 10:44Parentheses Rules
  6. 12:09Whitespace
  7. 13:59Conditionals
  8. 14:18Objects/Hashes
  9. 15:20String Interpolation
  10. 15:33Heredocs
  11. 17:28Loops & Comprehensions
  12. 23:52Extending Classes
  13. 24:52Bound Functions
  14. 28:10Existential Operator
  15. 30:19The Raven
  16. 31:28Matt Aimonetti
  17. 32:14Corey Haines
  18. 32:54Konstantin Haase
  19. 33:31What Didn't I Cover?
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.