~/talk

Redemption from Callback Hell

Talkat HTML5DevConf 2013 · 2013-04-01..04-03· [javascript, frontend-architecture]
links:none on file
slides:none on file

Argues that callback hell is real and shows concrete fixes: Promises as asynchronous values, a Promises A+ spec and test suite that forced correct implementations, and three working libraries—Q, RSVP, when.js—with helpers like denodeify, Q.all and q.async that turn callbacks into promise chains and integrate with ES6 generators. Demonstrates a promise-based HTTP server pattern that propagates errors to a single catch and returns 500s reliably, and reports the spec+tests actually fixed many real bugs.

AI-written summary · about

  1. 0:00Intro
  2. 1:01REDEMPTION CALLBACK HELL
  3. 7:18IN A CALLBACK, THERE IS NO STACK
  4. 11:51THE FUTURE IS ES6 GENERATORS
  5. 13:34PROMISES A+
  6. 21:58A PROMISE IS AN ASYNCHRONOUS VALUE
  7. 22:31THERE ARE 4 BASIC SYNC TO ASYNC TRANSFORMS
  8. 29:45OPERATIONS IN SEQUENCE
  9. 31:23HANDLING EXCEPTIONS
  10. 43:32EXECUTE OPERATIONS IN PARALLEL
  11. 45:35BUILD FAULT-TOLERANT SERVERS
~/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.