~/talk

JS UX: Writing Code for Humans

slides:none on file

Watch if wanting concrete API rules plus working demos: claims like documentation is the last resort, concrete fixes (sensible defaults, accept multiple input types, avoid boolean traps, order params by importance), examples from native APIs (URL, SVG DOM, compareDocumentPosition), small tools and polyfills shown (chainvas, a multi-range polyfill, Prism, fetch usage, MutationObserver for responsive layout), evidence from dozens of open source projects with thousands of merged pull requests, and actual replacements that remove error cases. Ignore if only looking for high‑level UX theory.

AI-written summary · about

  1. 0:00Start
  2. 5:42Sensible defaults
  3. 7:32Be liberal in what you accept
  4. 13:00Parameter traps
  5. 21:33Unnecessary error conditions
  6. 23:39Order parameters by importance
  7. 25:06Double Negatives
  8. 33:04Redundancy
  9. 34:36Accessor functions
  10. 38:55Use few simple words, whole
  11. 40:24Describe what it does, not how it works
  12. 43:50Boilerplate
  13. 45:27Thou shalt respond to changes
  14. 47:51IntersectionObserver
  15. 52:41Thou shalt also have an HTML API
~/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.