~/talk

The Design of Everyday APIs

slides:none on file

Builds a tiny pub/sub library called chaos Q and iterates it against three concrete principles: intuitive, flexible, simple. Shows specific changes — splitting publisher and subscriber clients, using keyword defaults, accepting batches, returning clear types, adding an iterator and context manager — and measures impact by shrinking example user code from 29 to 14 lines. Calls out real tools and patterns used (FFmpeg as a counterexample, dataclasses/attrs for defaults) and demonstrates the resulting API behavior.

AI-written summary · about

  1. 0:00Introduction
  2. 1:06Why this talk
  3. 2:11Good design principles
  4. 7:30API design examples
  5. 8:12Simple PubSub library
  6. 9:59APIs should be intuitive
  7. 14:14APIs should be flexible
  8. 22:00APIs should be simple
  9. 28:23Recap and key takeaways
  10. 29:30Q&A
~/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.