I'm a fan of removing code that is not in use rather than commenting it out or, in the case of functions and classes, just keeping them around. Lessens the maintenance burden and improves code readability. Previous variable values or implementation versions can always be retrieved from version control if needed for some reason.
I'm a fan of removing code that is not in use rather than commenting it out or, in the case of functions and classes, just keeping them around. Lessens the maintenance burden and improves code readability. Previous variable values or implementation versions can always be retrieved from version control if needed for some reason.