API Design
summary
Argues API design requires a different mindset than implementation, promotes APIdriven design (express the user sentence — e.g., "read file" becomes readString), and recommends layered APIs: simple readString, a readLines iterator, and low‑level byte reads for big files so abstractions don’t leak. Shows HTMX uses attributes for simple use and callbacks as escape hatch for auth and edge cases. Announces a working 16‑bit Montana State Mini computer with assembler, C compiler and Game of Life demo.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 1:12Welcome and conference overview
- 3:24API design philosophy
- 5:34Three key API concepts
- 6:02The API mindset
- 9:47API-driven design
- 11:23Example: Java file I/O
- 16:41Layering your APIs
- 19:15Discoverability via autocomplete
- 21:02Leaky abstractions
- 22:38Judicious use of callbacks
- 24:07Summary of API design tips
- 25:45Montana State mini-computer
- 27:13Q&A and closing
