~/talk

Writing better APIs

Talkat Do iOS 2018 · on Friday, 2018-11-09· [api-design, ios]
slides:none on file

Shows a concrete workflow: started with an unreadable Ruby PR for a calabash wrapper, cut ~50 lines to ~25, added a unit test that exposed a bug, then fixed behavior and renamed the operation stitching. Describes a Swift component system: 116 components, a new TextConfiguration NSObect with ObjC bridging, strongly typed color/weight types, chainable APIs, and assertions to fail fast. Outcome is testable, documented, and iterated code that actually caught and fixed real bugs.

AI-written summary · about

  1. 0:00Intro
  2. 1:17Who am I
  3. 3:12Questions
  4. 5:55List class
  5. 6:59Poor request
  6. 10:04Naming is hard
  7. 12:55What we learned
  8. 14:53The order doesnt matter
  9. 17:42Measuring success
  10. 21:39What more can we do
  11. 24:50Component system
  12. 27:36Swift
  13. 35:21Outcome
  14. 37:34Code
  15. 41:06Summary
~/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.