~/talk

Designing Accessible APIs

Talkat try! Swift NYC 2019 · 2019-09-09..09-10· [developer-experience]

Two practical rules govern API design: be kind to future self and be kind to users. Use platform types (for example use DataInterval not custom Time), prefer clarity over clever abstractions, and protect behavior with unit tests and runtime assertions like dispatch_precondition. Make integration trivial—one-click install, default the common case, accept optionals, avoid transitive dependencies, keep deprecated shims, gate new features so they’re zero cost until used, and never crash so apps retain control.

AI-written summary · about

  1. 0:00Introduction
  2. 1:26Accessibility
  3. 2:41Being Kind
  4. 3:06Writing APIs as though they will last forever
  5. 3:54What is the minimum amount of work to do
  6. 5:16Duplication
  7. 6:23Unit Tests
  8. 9:13Frameworks
  9. 10:05OneClick Install
  10. 10:52Platform conventions
  11. 11:13Common types
  12. 12:08Default case
  13. 13:38Flexibility
  14. 15:02Framework Authors
  15. 15:12Strong Opinions
  16. 16:37Expressing the API
  17. 18:39Avoiding transitive dependencies
  18. 21:25Using new features
  19. 22:35Do not crash
  20. 24:36Empathy
~/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.