~/talk

Improvisational JavaScript

Talkat JSConf EU 2012 · 2012-10-06..10-07· [javascript]
slides:none on file

Claim: apply Tina Fey’s improv rules from Bossypants to JavaScript error handling so UIs keep working instead of throwing. Concrete moves: cache form inputs, autocomplete and Always say yes, return chainable context objects and say yes and, reflect state and Make statements, fall back to numeric IDs for non‑unique usernames, retry XHRs, prefer error‑first callbacks/promises over try/catch. Examples named: jQuery $ behavior, Node style callbacks, XHR retries; these strategies get built as forgiving APIs that preserve flow rather than crashing.

AI-written summary · about

  1. 0:00Intro
  2. 0:38bossypants
  3. 1:20fallibility
  4. 2:39key difference
  5. 2:57comedy
  6. 3:34rules of improv
  7. 5:10improv for machines
  8. 6:12SAY YES, AND
  9. 9:02agreeing in the real world
  10. 11:01MAKE STATEMENTS
  11. 12:44NO MISTAKES
  12. 14:51real world error
  13. 15:33when things just fail
  14. 17:24agreeable functions
  15. 17:49affirmative return values
  16. 18:46imperative states
  17. 20:46errors
  18. 21:08the golden rule
  19. 21:50language features
  20. 23:19the future
  21. 24:16uncertainty is hard
  22. 25:00uncertainty is awesome
  23. 25:42JavaScript wants to be hilarious
~/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.