No comment

What are the alternatives to leaving commented old code in a codebase as a reference? Many times I've been saved by something that had been commented, but does the overhead of littering the code outweigh the occasional convenience?

Commented code is also destined to bit rot.