Super TypeScript II Turbo – FP Remix
summary
Shows concrete TypeScript code that uses pure functions, higher‑order functions and generics to build pipelines like updatePlayer = compose(updateHealth, compose(updateAnimation, updatePosition)) and maps/filters that produce a new list of injured enemies after dealing damage. Demonstrates how compose and typed transforms preserve input/output types across arrays, promises and observables, and how Readonly plus Pick and Record enforce surface immutability (with the caveat that private mutable state still works). Code compiles and behavior remains predictable.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 1:10Too many code bases
- 2:51Pure Functions
- 3:59Highorder Functions
- 5:03Explicit Typing
- 6:43Reusable Functions
- 8:10Configurable Functions
- 9:43Combos
- 11:24Compose
- 12:27BeAny
- 13:39Update
- 15:11Mapping
- 16:08Dataflow
- 17:13Readonly
- 18:50Pick
- 20:09Record
related talks
34mNot Your Uncle’s Clean Code (TypeScript Edition)
51mTypeScript - Beyond the Basics
33mPurifying Typescript
43mA Deep Dive into Advanced TypeScript: A Live Coding Expedition
44mA Deep Dive Into Advanced Typescript: A Live Coding Expedition
48mDeep Dive into Advanced TypeScript: A Live Coding Expedition
01h 01mAdvanced TypeScript Type Utilities
44mA Deep Dive Into Advanced TypeScript - A Live Coding Expedition
