Listen "Fear-Driven Development (with J. B. Rainsberger)"
Episode Synopsis
In this episode of Dead Code, J.B. Rainsberger discusses the pitfalls of integrated tests, calling them a "scam" due to their tendency to complicate rather than solve testing problems. He advocates for writing smaller, more focused tests, like unit tests, to simplify debugging and avoid tangled code. J.B. emphasizes that test-driven development (TDD) should be flexible, guiding developers to test based on what they're afraid might break, rather than following rigid rules. He introduces the concept of four stages of TDD, where developers evolve from focusing on bug prevention to refining their approach based on experience, adapting their testing strategy to different contexts while maintaining the core principle of starting with a failing test.Links:J.B. Rainsberger's websiteJ.B.'s technical blog: The Code WhispererJ.B.'s broader development blog: Blog by JBrainsMatteo Vaccari’s article: How I Learned to Love Mock ObjectsGrowing Object-Oriented Software, Guided by Tests by Steve Freeman and Nat PryceTest-Driven Development: By Example by Kent BeckRSpec for Rails Rails Testing DocumentationExtreme ProgrammingDead Code Podcast Links:MastodonXJared’s Links:MastodonXEpisode Transcript Hosted on Acast. See acast.com/privacy for more information.
More episodes of the podcast Dead Code
IDE-cide (with Samir Talwar)
13/01/2026
Deferred Conflict (with Steve Klabnik)
16/12/2025
Poison Pills (with Joel Hawksley)
02/12/2025
Ground Zero-Cost Bindings (with Josh Vlk)
18/11/2025
Brut-al Death (with David Bryant Copeland)
04/11/2025
God Class Funeral (with Adam Tornhill)
21/10/2025
Deserial Killer (with Matt Schwager)
07/10/2025
Crushing Riffs (with Kasper Timm Hansen)
23/09/2025
Fear-Driven Everything (with Justin Searls)
09/09/2025
ZARZA We are Zarza, the prestigious firm behind major projects in information technology.