http://stackoverflow.com/questions/184618?sort=votes
my favorite in the comments
//There can Only Be one HIGHLAN....err..Singleton
public class SomeSingleton
{
...
}
Some of those are hilarious. My favorite...
{
{
while (.. ){
if (..){
}
for (.. ){
}
.... (just putting in the control flow here, imagine another few hundred ifs)
if(..) {
if(..) {
if(..) {
...
(another few hundred brackets)
}
}
} //endif
Ahaha, awesome. For some reason this one was one of my favorites:
if(m_measures =/*=*/ --index)
{ ...
And the last ones on the first page really reminded me of this:
(http://imgs.xkcd.com/comics/random_number.png)