
X-Driven Development and External Drivers

#89 - Code That Fits in Your Head - Mark Seemann
Topic 9 of 11
Published May 23, 2022 · Clip 39:48–45:07 (5:19)
Mark discusses using external drivers (tests, type systems, linters) to motivate and verify code changes, since the human brain is poor at formal analysis and always introduces defects. TDD uses a failing test as a stimulus; statically typed languages let the compiler verify correctness, and Haskell exemplifies 'if it compiles, it works'. He describes Poka-Yoke (mistake-proof API design from lean manufacturing) and using static analysis as drivers, e.g., guard clauses provoked by analyzers with warnings turned into errors.