A piece of code that you see and wonder about, but that is actually invisible to the compiler, we can call it the ghost code:
int x = b/c; // x *= 2 x += d; return x;
Either delete that code – we have source control systems for seeing thing that are no longer current – or write why the code was commented out and when it will be uncommented:
int x = b/c; // TODO: uncomment after implementing rule R-325 // x *= 2 x += d; return x;
Code that is commented out adds unnecessary confusion.
Discuss Downvote Upvote Votes: 0