~/talk

Good API design

Talkat EuroPython 2011 · 2011-06-20..06-26· [api-design]
links:none on file
slides:none on file

Argues that the worst mistakes are no API at all and an interface that was never designed, then lists common anti‑patterns: multiple incompatible APIs, fear of commitment, inconsistency, and extremes. Recommends concrete remedies: design around concepts not implementation, provide a layered API, use REST and JSON or platform conventions, ship runnable examples and testable docs, phase transitions (don’t big‑bang), keep a data dictionary, and avoid exposing raw DB schemas or pickle. Cites gmpy/gmpy2 and the Python 2→3 transition as cautionary examples.

AI-written summary · about

  1. 0:00Introduction
  2. 1:55API design overlooked
  3. 4:01API design anti-patterns
  4. 9:03No API consequences
  5. 17:25Good API design
  6. 21:41Internal protocols as APIs
  7. 26:17Fear of API commitment
  8. 31:12Too many APIs drawbacks
  9. 35:52API transitions and deprecation
  10. 40:12API design inconsistency
  11. 44:21Balanced API design
  12. 49:01Error messages and documentation in APIs
  13. 50:30Performance considerations for APIs
  14. 52:57Q&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.