Refactoring Untested Code
Refactoring is in general restructuring the code without changing its behavior. By behavior, I mean what the outside world can observe, inputs and outputs, data persisted, messages sent, and visible side effects. If those remain the same, users and upstream systems will not notice the difference, even if the internals look completely different. The key point here is the behavior […]