~/talk

Lessons in Swift Error Handling and Resilience

Talkat try! Swift Tokyo 2017 · 2017-03-02..03-04· [swift]
slides:none on file

Explains concrete patterns: distinguish explicit vs implicit input and model temporal state to avoid init-order bugs (example: theme subsystem initialized before migration caused defaults to revert). Recommends encoding prerequisites in types (create a SetupComplete value so code won’t compile when misordered). Advises when to use Optional vs Error: switch a struct from failable init -> throws for chat ID parsing so callers get contextual errors via do/catch and error monitoring; mentions Result for limited use.

AI-written summary · about

  1. 0:00Intro
  2. 0:40Motivation
  3. 2:35Input
  4. 10:23Example
  5. 14:06Error Types
~/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.