Top funny source code comments

['Daniel']

  • It's about time I change this...
  • Posts: 162

Nao

  • Dadman with a boy
  • Posts: 16,079

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Top funny source code comments
« Reply #2, on September 20th, 2010, 02:44 PM »
I should send in some of the comments from the SMF source code.

:edit:

Gotta admit from the StackOverflow link, this made me chuckle:
Code: [Select]
// Replaces with spaces the braces in cases where braces in places cause stasis
   $str = str_replace(array("\{","\}")," ",$str);
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

Nao

  • Dadman with a boy
  • Posts: 16,079
Re: Top funny source code comments
« Reply #3, on September 20th, 2010, 03:58 PM »
I followed the link you mentioned and it has plenty of good stuff, too.
Ah, well, another hour I won't have spent on Wedge! ;)
It's a complete wedge of time!

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Top funny source code comments
« Reply #4, on September 20th, 2010, 04:03 PM »
I know! Perhaps we need to block the rest of the internets...

Meanwhile, I'm documenting that behemoth, your friend and mine, Post.php.

Nao

  • Dadman with a boy
  • Posts: 16,079

MultiformeIngegno

  • Posts: 1,337
Re: Top funny source code comments
« Reply #6, on September 20th, 2010, 08:02 PM »
Code: [Select]
/**
* For the brave souls who get this far: You are the chosen ones,
* the valiant knights of programming who toil away, without rest,
* fixing our most awful code. To you, true saviors, kings of men,
* I say this: never gonna give you up, never gonna let you down,
* never gonna run around and desert you. Never gonna make you cry,
* never gonna say goodbye. Never gonna tell a lie and hurt you.
*/

We need to put this in Wedge!! :P

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Top funny source code comments
« Reply #7, on September 20th, 2010, 08:05 PM »
Well, I already added a Star Trek quote in one of my commits, and I'm certainly not averse to fun comments. I still remember when I put Iron Maiden lyrics in one of my mods.

Nao

  • Dadman with a boy
  • Posts: 16,079

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278

Nao

  • Dadman with a boy
  • Posts: 16,079

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Top funny source code comments
« Reply #11, on September 20th, 2010, 11:08 PM »
Jeez, I know I'm not a Hollywood actor but I'm sure my face isn't that funny :P

* Arantor is a self-proclaimed acolyte of the self-depreciating British witticism.

Dismal Shadow

  • Madman in a Box
  • Me: Who is Arantor? Cleverbot: It stands for time and relative dimensions in space.
  • Posts: 1,185
Re: Top funny source code comments
« Reply #12, on September 21st, 2010, 05:38 AM »
Quote from MultiformeIngegno on September 20th, 2010, 08:02 PM
Code: [Select]
/**
* For the brave souls who get this far: You are the chosen ones,
* the valiant knights of programming who toil away, without rest,
* fixing our most awful code. To you, true saviors, kings of men,
* I say this: never gonna give you up, never gonna let you down,
* never gonna run around and desert you. Never gonna make you cry,
* never gonna say goodbye. Never gonna tell a lie and hurt you.
*/

We need to put this in Wedge!! :P
Easter Egg? :P
“I will stand on my ground as an atheist until your god shows up...If my irreligious bothers you much, and if you think everything I do is heresy to your god I don't care. Heresy is for those who believe, I don't. So, it isn't heresy at all!


   Jack in, Wedge,
   EXECUTE!

Nao

  • Dadman with a boy
  • Posts: 16,079