~/talk

Comparative Error Handling...

Talkat Rocky Mountain Ruby 2017 · on Friday, 2017-09-29· [ruby, testing]
slides:none on file

Compares concrete failures and fixes across ecosystems: JavaScript shows unexpected token < in JSON from fetch responses and silent module-load failures caused by syntax errors, Ruby surfaces undefined method posts for NilClass and no implicit conversion of String into Integer from mistaken array indexing, Heroku logs can literally say we need a better air and be useless. Argues error handling is predictably broken, cites ~135k JS “better error” issues vs ~44k Ruby, and recommends autocorrect tools (RuboCop/ESLint), intent-aware diagnostics, and linking docs in errors.

AI-written summary · about

  1. 0:00Intro
  2. 1:45Technical Hurdles
  3. 2:36Error Handling
  4. 3:36Error Messages
  5. 4:02Failure
  6. 4:23This is our fault
  7. 6:14Uncaught Error
  8. 8:40Error Logs
  9. 9:56Hypothesis
  10. 11:09Installation Error
  11. 11:45No Method Error
  12. 14:02No Implicit Conversion Error
  13. 15:33Predictable Error Handling
  14. 15:58Error Messages for Developers
  15. 18:53Syntax Error
  16. 20:34Lazy
  17. 21:23Better Error
  18. 23:25Fixing Error Handling
  19. 26:13Community Support Resources
  20. 28:48Writing for Users
  21. 30:44Building Trust
~/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.