3 ms·
There's a better way to do this. Write a unit test for Method and just edit Method as needed. Run your test to verify that the output is consistent. This preve
by smt88 9y ago
There's a better way to do this. Write a unit test for Method and just edit Method as needed. Run your test to verify that the output is consistent.
This prevents cluttering your code with old methods and also allows you to figure out if a new environment breaks your code.
- nitrogen 9y agoYes, please just do this. Maybe this thread is full of Poe's Law irony, but if not, I don't look forward to refusing to work on any code developed with the practice of strewing almost-the-same methods all over the place. Simple code scales. Write simple code.