Amy Blankenship
Apr 28, 2022

--

That's actually the benefit of TDD. You have to describe to yourself how the code should work. And throwing out test code when it turns out you were wrong is way less painful than throwing out prediction code, especially if it's tightly coupled as untested code often is

--

--

Amy Blankenship
Amy Blankenship

Written by Amy Blankenship

Full Stack developer at fintech company. I mainly write about React, Javascript, Typescript, and testing.

No responses yet