News for hackers. Stuff that matters.
Re:What most young programmers need to learn by UrMomReadsHN on Monday January 05, 2015 @02:45PM (#8840677)
Thats totally different than just leaving it there without any context at all. Which is what i was referring to.

An actual comment is of course helpful, but when people check in code that has been commented out it usually has no explanation at all. Thats the confusion part.

I'm talking stuff like this...(and I believe so was the author)...

//int foo = 10;

int foo = 20;

if (bar)

//if (foo > 0)

{

foo++;

}

//else

//{

//foo--;

bar = false;

//}

There are no comments on this comment yet.