Computer Association of SIUE - Forums

CAOS Forums => Funny Bone => Topic started by: Brian Cunningham on 2009-04-24T12:55:39-05:00 (Friday)

Title: Funny Comments in code
Post by: Brian Cunningham on 2009-04-24T12:55:39-05:00 (Friday)
http://stackoverflow.com/questions/184618?sort=votes

my favorite in the comments

//There can Only Be one HIGHLAN....err..Singleton
public class SomeSingleton
{
...
}

Title: Re: Funny Comments in code
Post by: Robert Kennedy on 2009-04-24T17:33:23-05:00 (Friday)
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
Title: Re: Funny Comments in code
Post by: Tangent Orchard on 2009-04-24T21:33:17-05:00 (Friday)
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)