Re:The Key Points of Working Effectively with Legacy Code
by grahamplace on Monday September 08, 2025 @11:27PM
(#45177053)
I’ve seen Martin Fowler call something like what you’re describing the Strangler Fig pattern
Re:The Key Points of Working Effectively with Legacy Code
by asplake on Tuesday September 09, 2025 @01:42AM
(#45177839)
Better still, lots of mini-switchovers. I rolled out a bank’s p&l system for bonds that way. Trading book by trading book, those with simpler instruments first, more complex ones later. We finished ahead of schedule!
Re:The Key Points of Working Effectively with Legacy Code
by sciurus on Tuesday September 09, 2025 @08:52AM
(#45181263)
You're assuming the "legacy" system is being replaced by a new one, which isn't the scenario being described in the link or the book. They cover approaches for continuing to safely evolve the legacy (i.e. untested) system.
Re:The Key Points of Working Effectively with Legacy Code
by sublimefire on Tuesday September 09, 2025 @09:51AM
(#45181912)
Rewriting the legacy system is one of the valid paths to maintain it. There can be multiple reasons to do that like operational risk which cannot be mitigated, maintenance overhead, risk related to the existing dependencies of the system.
I'm not aware of the formal Design Pattern name, but a google search yielded this blog post on the subject: https://medium.com/@sahayneeta72/parallel-run-strategy-7ff64...
Coincidentally this is the same strategy github employed when verifying libgit2: https://github.blog/engineering/engineering-principles/move-...