~/talk

Good APIs don't need a tutorial

Talkat droidcon NYC 2019 · 2019-08-26..08-27· [api-design, developer-experience]
links:none on file
slides:none on file

Argues that a library should teach by arrangement not text: split an API into its own tiny module so compilation is fast and experimentation happens in a side fast iteration cycle (used at CashApp and with SQLDelight), generate clients from proto with gRPC/Wire 3 to avoid brittle retrofit setups, design APIs so IntelliJ autocomplete guides correct use, prefer typed, math‑based layouts (contour) over fragile constraint editor workarounds to make errors visible and discovery immediate.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:23Gaming and coding origins
  3. 4:33Fast iteration in game design
  4. 6:57API placement for fast iteration
  5. 9:03Iteration cycle in APIs
  6. 10:06No tutorials in game design
  7. 11:29RecyclerView adapter lesson
  8. 14:15Portal and tutorial design
  9. 14:57Xenoblade Chronicles 2 critique
  10. 16:21Retrofit vs gRPC APIs
  11. 18:07Halo's on-rails tutorials
  12. 19:31Constraint layout exercise
  13. 23:19Simple not easy concept
  14. 24:00Math-based layout with Contour
  15. 26:46Relevant autocomplete menus
  16. 27:08Deprecated annotation usage
  17. 28:32Extension function scoping
  18. 31:20Tools near problem areas
  19. 34:07Rewarding not punishing APIs
  20. 37:16Building API communities
  21. 39:02Play your own game
  22. 40:03Recap of lessons
  23. 40:44Role of tutorials in APIs
~/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.