The Fun of Runtime Type Systems (or "Funtime Type Systems")
summary
Covers runtime type systems for JavaScript that go beyond simple validation by being generated and composed dynamically from sources like JSON Schema, GraphQL, and UI props so types match runtime shape. Demonstrates libraries such as prop-types, tcomb, and mobx-state-tree alongside TypeScript/Flow coexistence, explains higher-order types that take type arguments to express invariants, and shows generators that produce validators to catch reproducible bugs and enforce near-complete field coverage.
AI-written summary · about
chapters (8)
- 0:00Runtime type systems intro
- 3:05Type systems history
- 7:24Runtime type checking basics
- 12:37Implementing type checks
- 18:06Advanced type system features
- 22:13Expressive type systems power
- 25:21Practical applications and tools
- 28:14Conclusion
related talks
27mA Story About Types and JavaScript
22mType Systems Will Make You a Better JavaScript Developer
15mTypescript. Runtime. And In Between.
30mSwipe Left, Uncaught TypeError Learning to Love Type Systems
25mStatic types in JavaScript: what, how and why
25mWhy static types in Javascript? — Preethi Kasireddy
21mThe long-tail of type safety
28mEctype - bringing type safety (and more!) to vanilla JavaScript
