News for hackers. Stuff that matters.
Re:Programmers Should Never Trust Anyone, Not Even Themselves by packetlost on Monday July 01, 2024 @09:31AM (#40845699)
> I've generally come to think that unit tests should be used to baseline something after it ships, but aren't that useful before that point

I disagree, but not entirely. I think there's a balance. Tests can be a great way to execute code in isolation with expected inputs/outputs and can help dramatically in absence of other ways to execute the code. But in general, I mostly agree. Tests are mostly valuable as a way of ensuring you don't break something that was previously working, but they are still valuable for validating assumptions as you go.

There are no comments on this comment yet.