Generics in Go
summary
Introduces Go generics: what generics are, how and why to use them to increase code reuse and speed up development. Covers practical benefits of applying generics to unlock Go's potential and improve code quality.
AI-written summary · about
chapters (20)
- 0:00Introduction
- 3:13Speakers
- 4:59Agenda
- 6:06Go before generics
- 9:41Generics syntax
- 12:13Generic structures
- 14:01Generic interfaces
- 15:25Functions exercise
- 20:06Type constraints
- 26:08Constraints as interfaces
- 29:01Number constraints
- 35:14Tilde operator
- 41:34Tilde exercise
- 44:49Type inference
- 46:58Advanced inference
- 53:03Type parameters
- 57:02Structures example
- 1:04:32Generics limits
- 1:12:26When to use
- 1:16:39Q&A
