~/talk

Much Ado About CoffeeScript

Talkat LoneStarRuby Conf 2011 · 2011-08-11..08-13· [javascript]
links:none on file
slides:none on file

Claims that Rails 3.1 adopts CoffeeScript as the asset-pipeline default and shows concrete install and integration steps: node.js plus npm install -g coffeescript, editor bundles for TextMate/vim/emacs, and placing files under app/assets/javascripts/.js.coffee. Demonstrations show CoffeeScript compiling down (it compiles to JavaScript*), concrete syntax rewrites (->, @, indentation), ten notable features (classes, lexical scoping, existential operator, splats, comprehensions) and examples of Rails integration and generated output so viewers can judge usefulness.

AI-written summary · about

  1. 0:00Start
  2. 0:07LONE STAR RUBY CONFERENCE
  3. 4:57JavaScript Design Patterns are Features of CoffeeScript
  4. 12:10Class Pattern
  5. 13:03Lexical Scoping No Global Variables
  6. 13:56Default Arguments
  7. 14:18String Interpolation
  8. 14:35Conditional Suffixes
  9. 14:59Operator Aliases
  10. 16:22Existential Operator
  11. 17:02Splats
  12. 17:49List Comprehensions
~/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.