~/talk

Framework Design - Lessons Learned from Repeated Mistakes

slides:none on file

Frameworks encode other engineers’ hard-won opinions and manage app structure rather than just offering functions, and that distinction drives API choices: keep interfaces small and consistent, make operations orthogonal (CRUD and opposites), and encapsulate internals including CSS. Documentation must include copy‑paste examples, tooling and scaffolding enforce patterns, tests guard promises, and a plugin model preserves a small core + plugins footprint. The author recounts rewriting a framework six times as usage exposes better designs.

AI-written summary · about

  1. 0:00Introduction
  2. 3:00Libraries
  3. 5:04Library
  4. 7:50Frameworks
  5. 11:26API
  6. 11:56Keep your API small
  7. 13:40Make your functions intuitive
  8. 15:04Keep your APIs orthogonal
  9. 16:51Encapsulation
  10. 18:15Documentation
  11. 19:01Error Handling
  12. 22:27Promises
  13. 23:28Opinions critical
  14. 24:43What is a framework
  15. 25:29Conclusion
~/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.