4 ms·
If taken seriously, writing test code can be both a technical challenge in its own right, and can also fold in a bit of the fun that hacking systems can offer.
by jerf 10y ago
If taken seriously, writing test code can be both a technical challenge in its own right, and can also fold in a bit of the fun that hacking systems can offer. You're out to break things rather than exploit them, but it can be similarly fun.
I think there's a certain amount of recursiveness in the way we look down our nose at test code; we don't like it, so we write code that isn't easy to test, which makes it even harder to write code that is testable in the next composition layer of the system. Repeat a few times and the test code gets pretty horrifying. But somebody needs to crack that nut.