~/talk

Learning From Our Elders: Applying functional insights without losing Swift

Talkat 360iDev 2017 · 2017-08-13..08-16· [swift]
slides:none on file

Claim: Swift is not purely functional but borrows concrete functional lessons. Shows how to build small composable datasources instead of fat view controllers, how to prefer strong domain types (IDs, tokens) over loose strings/dictionaries, and how enums with associated values produce a Result<Token, Error> style API that compiles wrong before it runs. Demonstrates using protocols, structs, optionals, generics, type lifting, and never/void to make illegal states impossible so fewer corner-case tests are needed and behavior is easier to reason about.

AI-written summary · about

  1. 0:00Introduction
  2. 1:57Swift is not functional
  3. 5:19Using composition
  4. 9:09Models and views
  5. 12:14Putting the pieces together
  6. 19:02Strengthening types
  7. 21:42Weakest types
  8. 27:49Most abused types
  9. 33:09Protocols
  10. 38:24Types
~/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.