4 ms·
Deleted code is debugged code.
by BerislavLopac 8y ago
Deleted code is debugged code.
- vaylian 8y agoMostly true. But removing something can also give you something in return. In this case a simpler and potentially more reliable codebase. You should throw out old code when any of these apply 1) The code becomes irrelevant 2) The code becomes redundant (you found a way to generalize things) 3) The code is so bad that maintaining it is simply not worth it any more. These things happen frequently enough that removing code is usually a reasonable action.