Swift type inference is simple! Or is it?
summary
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
chapters (12)
- 0:00Introduction
- 3:01Type inference basics
- 7:52Named and compound types
- 13:54Type inference in closures
- 14:14Generics and type inference
- 18:10Swift metatypes
- 21:24Type inference cases
- 27:48Complex generic patterns
- 32:07Swift vs C++ comparison
- 35:41Library pros and cons
- 36:44Conclusion
- 37:28Q&A








