Too Old to Fail

Leave a Reply

Comment as a guest.

  1. I agree with your three points. However, I’d have to say that deleting old code should be safe as long as you your software is thoroughly tested. After deleting files you feel aren’t necessary your tests should be able to tell you if it was in fact necessary. Too many times I’ve deleted code I thought was un-necessary, which caused bugs, due to lack of tests and documentation.

    1. Agreed. The other time when it’s good to delete code is when the requirements have undisputedly changed; the tests can disappear along with the code itself. Both things are not easy to do, and if anything it takes discipline to take time out of product dev. to maintain these codebases.

Sliding Sidebar