~/talk

CoffeeScript for the Rubyist

Talkat RailsConf 2012 · 2012-04-23..04-25· [javascript, ruby-on-rails]
slides:none on file

CoffeeScript compiles to JavaScript and presents concrete substitutions: shorter jQuery AJAX calls, Ruby‑style lambdas, splats, default args, ranges (note: 1..100 switches implementation at 22), class constructors with @ as instance variable assignment, inheritance, and bound callbacks via the fat arrow to fix this scope. Syntax enforces significant whitespace and relaxed parentheses, emits strict mode, and offers the existential operator (?) to safely call console.log or chain property access without runtime errors.

AI-written summary · about

  1. 0:00Introduction to CoffeeScript
  2. 1:14History of JavaScript
  3. 2:50The Origin of CoffeeScript
  4. 3:33What is CoffeeScript
  5. 4:48What CoffeeScript is Not
  6. 5:28The Need for Progress
  7. 9:34Syntax Comparison
  8. 10:40Syntax Rules and White Space
  9. 12:16Function Rules
  10. 13:25White Space significance
  11. 14:50CoffeeScript and Ruby
  12. 15:43Objects and Hashes
  13. 17:23Using Ranges
  14. 18:24Strings and Interpolation
  15. 19:41Defining Functions
  16. 21:14Splats and Parameter Handling
  17. 23:02Loops and Comprehensions
  18. 25:57Classes and Inheritance
  19. 27:20Instance Variables
  20. 28:57Operators and Inheritance
  21. 30:36Bound Functions
  22. 34:09Existential Operator
~/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.