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