Refactoring Legacy Code: Leave Tested Methods Public
When refactoring from a large to small API, use interfaces for the new methods, but leave the old public IFF they are well tested. Its not worth re-working all the tests when they're hidden by using the interface This is a short little post about a small thing…