~/talk

From Problem to Solution

Talkat dotSwift 2019 · on Monday, 2019-01-28· [frontend-architecture]
slides:none on file

Argues that a practical abstraction emerges from refactoring a messy network client into a request behavior protocol with four parts (additional headers, beforeSend, afterSuccess, afterFailure) implemented with Swift protocol extensions. Builds concrete behaviors—auth header, background task, network-activity counter—and a combine requests behavior that treats arrays as one. Result reduces singletons, makes code decoupled and reusable, and shrinks testing to two tests per behavior (header present or not), showing the refactor actually works.

AI-written summary · about

  1. 0:00Intro
  2. 6:40Developing the abstraction
  3. 10:35Dont repeat yourself
  4. 13:20Extract the 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.