~/talk

Representables in Swift

Talkat dotSwift 2017 · on Friday, 2017-01-27· [swift]
slides:none on file

Proposes a concrete pattern: keep a concrete Response internally for access control and expose a protocol with a single function that builds that backing model, making the backing type conform to its representable. Uses Swift protocols, file/module access control, and optional throwing initialization. Changing the API is a one‑line conversion of representable to backing model on entry, it centralizes conversion, avoids a breaking change, and prevents external improper mutation while keeping consumer flexibility.

AI-written summary · about

  1. 0:00Start
  2. 2:16Composability
  3. 7:44Why Why Would We Bother To Change Our Existing Api
  4. 11:02Clean Code
~/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.