~/talk

A year of other’s bugs: the sad state of error handling

Talkat JSConf AU 2018 · on Tuesday, 2018-04-10· [developer-experience]
slides:none on file

Error handling in JavaScript is concretely broken for newcomers: tiny typos and type confusions cause hours of debugging, exemplified by errors like PI.push is not a function and cannot read property add of undefined, and platform messages such as EADDRINUSE or “unexpected token in JSON at position 0.” The ecosystem uses Heroku, Node/Express, webpack, React and Elm; Elm’s verbose error UI and Chrome’s audits panel actually help, while a quick GitHub search finds one million issues revealing widespread neglect. File issues, add context, and surface actionable fixes.

AI-written summary · about

  1. 0:00Start
  2. 5:19Mixing Up Array and Object Prototype Methods
  3. 10:56Why Is Error Handling So Bad
  4. 12:17Writing Error Messages for Ourselves
  5. 16:54Types of Error Objects
  6. 27:24Elegant Solutions
  7. 29:12Audits Panel
~/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.