Refactoring: Avoiding Tunnel Vision
Until everything is done, it’s as if nothing is done. To avoid tunnel vision when refactoring: the Strangler Fig pattern, where old and new coexist.
Until everything is done, it’s as if nothing is done. To avoid tunnel vision when refactoring: the Strangler Fig pattern, where old and new coexist.
In a legacy system on which many other systems depend, fixing a bug is not always recommended. It’s better to isolate it and keep it.
The Mikado Method involves mapping out the dependencies of the refactoring, then refactoring starting from the leaves of the resulting tree.
The Golden Master method aims to prevent regressions during refactoring and relies on first creating a set of business logs.
Refactoring comes with two challenges: avoiding regressions and tunnel vision. To help you: Golden Master, the Mikado Method, and the Strangler Fig pattern.