2 ms·
I get nods when I demand some form of automated testing because "everyone's IQ and experience tends to become irrelevant at 3 am when you're tired and hungry wo
by devonkim 12y ago
I get nods when I demand some form of automated testing because "everyone's IQ and experience tends to become irrelevant at 3 am when you're tired and hungry working on a critical bug before the release ships." I ask people if they trust that developer, not the usual person you know. Beyond that, there's few better ways to show how to use a piece of code than by writing a test that actually does use it as you would, so it cuts down on some documentation if people can trust that it'll be there.
- kirse 12y agoWell of course devs are up to 3am, it's because they're forced to spend huge chunks of time writing and updating all those automated tests. Not writing the tests gets one to bed earlier, ergo well-rested programmer, ergo no release bugs.