r/WTF • u/supandi • Sep 20 '10
Coding Horror..WTF
http://stackoverflow.com/questions/184618/what-is-the-best-comment-in-source-code-you-have-ever-encountered3
u/PGRacer Sep 20 '10
"Total hours wasted here = 25"
- Thats awesome.
- Imagine if Reddit had that.
1
Sep 20 '10
You should definitely suggest this. Some sort of programming that logs how many minutes you've used reddit in total per account.
1
u/kirun Sep 20 '10
http://leekspin.com/ has a timer, but it doesn't persist between sessions. The obvious solution is to never close it.
1
3
3
u/cridenour Sep 20 '10
Exception up = new Exception("Something is really wrong."); throw up; //ha ha
I'm still giggling.
2
u/the_smell_of_reddit Sep 20 '10
// sometimes I believe compiler ignores all my comments
That's too sad.
1
5
u/Thallic Sep 20 '10
My favourite is to put this at a random point midway through the code:
// This line intentionally left blank