Hacker News new | ask | show | jobs
by sivanmz 2306 days ago
Often, the clients of legacy code are old too, and are hard coded to access it.

I've done this, but on a private branch, with a single merge to trunk in the end. Starting with complex integration tests, new interfaces were gradually defined and made the code testable, giving me the needed confidence.