Of course, the code I wrote to exercise the code I wrote had bugs, but usually I wouldn't make offsetting errors.
It didn't fix all the problems I made, but it helped. And it helped to have the humility when trying to fix code to realize I wouldn't get it the first time, so should automate replication
Congratz, you've independently invented integration tests.
EDIT: But Acktshally `the code I wrote to exercise the code I wrote` is a description of "Unit Testing", not integration testing.
Some actions simply make so much sense to do, that any sensible person (unaware of the concept) will start doing them given enough practice, and in process they "reinvent" a common method.
With the stock eyeroll dismissal phrase.
Is the party responsible for the bug bigger than you? If yes, it's your problem. If no, it's their problem.
mannykannot•1mo ago
marginalia_nu•1mo ago
Depends of course on the nature of the bug whether it's a good strategy.