> He repeats the typical line of “Delete code that’s not used instead of commenting it out, because you can always recover it from VCS.” (That’s a view that I’ve [controversially] started to turn against, for the same reason that “you can recover it from backups” is not a compelling reason to delete files currently not in use.)
That's an interesting take. I've usually encouraged removing commented code because every line of code is a liability, even if commented out.
That's an interesting take. I've usually encouraged removing commented code because every line of code is a liability, even if commented out.