4 ms·
This is a neat trick, the best I've seen for commenting out huge blocks. But yeah, there is no reason for commented out code. From "97 Things Every Programmer
by seanconaty 13y ago
This is a neat trick, the best I've seen for commenting out huge blocks. But yeah, there is no reason for commented out code.
From "97 Things Every Programmer Should Know" http://programmer.97things.oreilly.com/wiki/index.php/Comment_Only_What_the_Code_Cannot_Say http://programmer.97things.oreilly.com/wiki/index.php/Commen...
> Commented-out code is not executable code, so it has no useful effect for either reader or runtime. It also becomes stale very quickly. Version-related comments and commented-out code try to address questions of versioning and history. These questions have already been answered (far more effectively) by version control tools.