3 ms·
What could possibly go wrong? If a refactor is sufficiently canonical that "try it" is acceptable, and you have little/no edge cases, then it should be trivial
by posixplz 8y ago
What could possibly go wrong?
If a refactor is sufficiently canonical that "try it" is acceptable, and you have little/no edge cases, then it should be trivial to write a good test for the same code. After all, what does a test do, besides "try it"?