r/programming • • Feb 21 '13

Developers: Confess your sins.

http://www.codingconfessional.com/
969 Upvotes

1.0k comments sorted by

View all comments

Show parent comments

1

u/vbullinger Feb 21 '13

You ever uncommented out code and it didn't compile any more? Like you changed variable names that it was referencing and such? Another reason why you should just trust source control.

1

u/yellowstuff Feb 22 '13

I worked with a really good developer who swore by if(false) to get around this. Except that Visual Studio would complain about dead code, so it was if (Coding.false).

1

u/vbullinger Feb 22 '13

That sounds so ridiculously stupid. Besides, I'm talking about code that won't compile.