TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
C++ Coding Standard
Search

Rule:  COM#005Checked automatically with code checker

Synopsis:Do not leave commented-out code in the source file
Language:C++
Severity Level:9
Category:Comments


Description:

When commented-out code is left in the source file it may later be unclear if the code is still up-to-date. It also may result in extra work when during maintenance the commented-out code is kept up-to-date, even when the code may never be used again.