TDD as in Type-Driven Development
summary
Asserts that types can prove broad properties so many tests become unnecessary and recommends a workflow: write precise types, add property tests, then use unit tests for regressions. Shows concrete tools: Option/Validation to avoid nulls and accumulate errors, newtype/tag types to prevent unit-mixups, the Rust borrow checker to guarantee single-ownership and safe resource release, and hole-driven development with Idris to let the compiler guide implementations. Cites "theorems for free" and Scala/Idris/Rust examples as working evidence.
AI-written summary · about
chapters (4)
- 0:00Start
- 36:32FP in Scala (aka the Red Book).
- 36:54Functional and Reactive Domain Modelling
- 37:26Type Driven Development with Idris








