News for hackers. Stuff that matters.
Re:Ask HN: What made you change your mind about a programmin... by AnimalMuppet on Monday March 04, 2019 @12:18PM (#19302931)
The tests don't just help you think about the code, they force you to do so. For those who are tempted to think "I can just do this quick change this one time; nothing will go wrong", tests force you to actually think.

Or they don't. If the tests just continue to work, then you ask yourself whether the change should have broken them. If not, you go on your way with a fair amount of confidence. But if the change should have broken the tests, then you have to look at why it didn't...

There are no comments on this comment yet.