There Is No Such Thing as a 'Generic'
summary
Main claim: there is "no such thing as a generic" — only generic types vs generic functions with distinct behavior. Demonstrates with Set, Map, pick, createStringMap and uniqueArray examples, showing that generic types require type arguments while generic functions infer from values or explicit type arguments, that inference becomes the source of truth, and that type parameters can be passed between functions (effectively currying types) to produce precise, usable typings that catch mistakes.
AI-written summary · about
chapters (9)
- 0:00Introduction and setup
- 1:05Why language matters in TypeScript
- 2:30The problem with 'generics' terminology
- 5:38Generic types as type functions
- 10:14Generic functions and type inference
- 15:39Breaking down the pick function example
- 19:31No such thing as a generic
- 20:14Live coding exercises
- 28:01When to use generics








