3 ms·
Try it and see if it works?
by jazoom 8y ago
Try it and see if it works?
- posixplz 8y agoWhat 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"?