~/talk

Swift type inference is simple! Or is it?

TalkinRussianat AppsFest 2020 · 2020-10-30..10-31· [swift]
links:none on file
slides:none on file

Explains techniques in Swift for using and twisting the compiler's type inference to not only infer an object's type but also augment or parse composite types so additional type information is attached implicitly. Covers parsing and constructing composite types in ways that let code use those enhanced types without the caller being aware, with concrete Swift-focused examples and patterns.

AI-written summary · about

  1. 0:00Introduction
  2. 3:01Type inference basics
  3. 7:52Named and compound types
  4. 13:54Type inference in closures
  5. 14:14Generics and type inference
  6. 18:10Swift metatypes
  7. 21:24Type inference cases
  8. 27:48Complex generic patterns
  9. 32:07Swift vs C++ comparison
  10. 35:41Library pros and cons
  11. 36:44Conclusion
  12. 37:28Q&A
~/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.