Re:Use the Mikado Method to do safe changes in a complex cod...
by SoftTalker on Monday March 02, 2026 @11:06AM
(#47219784)
Yes, most of the time such spaghetti code projects don't have any tests either. You may have to take the time to develop them, working at a high level first and then developing more specific tests. Hopefully you can use some coverage tools to determine how much of the code you are exercising. Again this isn't always feasible. Once you have a decent set of tests that pass on the original code base, you can start making changes.
Working with old code is tough, no real magic to work around that.
Re:Use the Mikado Method to do safe changes in a complex cod...
by agge on Monday March 02, 2026 @11:15AM
(#47219930)
If you create a graph of what changes are needed to allow for other changes, eventually leading to your goal.
Then by definition you have the smallest safest step you can take. It would be the leaf nodes on your graph?
In other words, I'd reword this to using the Mikado method to understand large codebases, or get a first glimpse of how things are connected and wired up. But to say it allows for _safe_ changes is stretching it a bit much.