~/talk

Generics in Theory and Practice

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

Generics explain why the Swift standard library is almost entirely generic: collections like Array/Dictionary/Set hold any element type, global functions such as map filter reduce use type placeholders, and the Mirror initializer surfaces extreme type constraints. Swift 3 ships generic typealiases and syntactic tweaks; proposals for Swift 4 add recursive protocol constraints to link Sequence and SubSequence, nested generics for private internals, and improved existentials to let class+protocol types be used at runtime.

AI-written summary · about

  1. 0:00What is generic programming
  2. 1:51Collections
  3. 2:48Global Functions
  4. 6:07Generics Are Not Cool
  5. 14:00Conclusion
~/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.