DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Funny Comments in Your Code?  (Read 8,440 times)

Renegade

  • Tell me something you don't know...
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,291
    • Participated in NANY Challenge Three Times
    • Furry Fandom Badge - Furry Fandom
    • Linux User
Funny Comments in Your Code?
« on: November 10, 2012, 04:28 AM »
I was just going over some old code, and had a serious laugh. It was liberally laced with profanity, and just hilarious! :D (Not because of bugs or anything - just curse words used for no real reason other than perhaps to make me laugh.)

Anyone ever go back, read old comments, and laugh?
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 11,205
    • Participated in NANY Challenge Fourteen Times
    • Coding Snacks
    • Writer
    • Hardware Hacker
Re: Funny Comments in Your Code?
« Reply #1 on: November 10, 2012, 04:41 AM »
It was liberally laced with profanity, and just hilarious!

I did this before, to earn an achievement in VS.  :-[

Renegade

  • Tell me something you don't know...
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,291
    • Participated in NANY Challenge Three Times
    • Furry Fandom Badge - Furry Fandom
    • Linux User
Re: Funny Comments in Your Code?
« Reply #2 on: November 10, 2012, 05:08 AM »
It was liberally laced with profanity, and just hilarious!

I did this before, to earn an achievement in VS.  :-[

I've never seen that before! Love it~! :D
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

Jibz

  • Cold Warrior
  • Developer
  • Joined in 2005
  • ***
  • Posts: 1,187
    • Programming School - Stage 1 Medal
    • Coding Snacks
    • Participated in NANY Challenge Four Times
Re: Funny Comments in Your Code?
« Reply #3 on: November 10, 2012, 10:12 AM »
I was actually digging through some of the first versions of my old executable packer the other day, and found some rather obscene comments here and there ;D. It seemed like I had a thing with putting a comment in with a strange word in it to be able to use the search function to get back there, I guess my editor back then didn't have bookmarks or anything.

It was also interesting to see just how horrible the code actually was -- most of it was written while I was trying to learn C. It works and all, but I would hate to have to fix a bug in a mess like that :-[.

Slightly related.
"A problem, properly stated, is a problem on it's way to being solved" -Buckminster Fuller
"Multithreading is just one damn thing after, before, or simultaneous with another" -Andrei Alexandrescu

Renegade

  • Tell me something you don't know...
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,291
    • Participated in NANY Challenge Three Times
    • Furry Fandom Badge - Furry Fandom
    • Linux User
Re: Funny Comments in Your Code?
« Reply #4 on: November 10, 2012, 11:20 AM »
I was actually digging through some of the first versions of my old executable packer the other day, and found some rather obscene comments here and there ;D. It seemed like I had a thing with putting a comment in with a strange word in it to be able to use the search function to get back there, I guess my editor back then didn't have bookmarks or anything.

It was also interesting to see just how horrible the code actually was -- most of it was written while I was trying to learn C. It works and all, but I would hate to have to fix a bug in a mess like that :-[.

Slightly related.

I know how old code can be embarrassing. :)

Regarding that link - very fun! I looked around a bit, and ended up here:

http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/

Seriously funny. And serious. And funny. :)
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

Josh

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 3,411
    • Gathering Badge
    • Official Forum Clown
    • Coding Snacks
    • Plugin Coding Medal
    • Volunteers/Staff
    • Military Service Badge - US Army
    • Furry Fandom Badge - Furry Fandom
    • Linux User
Re: Funny Comments in Your Code?
« Reply #5 on: November 10, 2012, 11:39 AM »
Related comments from the Microsoft Windows 2000 source code....apparently, "We are morons"

Source

And no one had better change those tabs to spaces!!!!
Strength in Knowledge

Renegade

  • Tell me something you don't know...
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,291
    • Participated in NANY Challenge Three Times
    • Furry Fandom Badge - Furry Fandom
    • Linux User
Re: Funny Comments in Your Code?
« Reply #6 on: November 10, 2012, 11:53 AM »
Related comments from the Microsoft Windows 2000 source code....apparently, "We are morons"

Source

And no one had better change those tabs to spaces!!!!

That was still funny! If you can't swear in comments, what point is there in life? :D
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

Tuxman

  • OMG not him again!
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,522
    • Participated in NANY Challenge Seven Times
Re: Funny Comments in Your Code?
« Reply #7 on: November 10, 2012, 12:08 PM »
Code
// Hell, am I proud of this solution!
I bet when Cheetahs race and one of them cheats, the other one goes "Man, you're such a Cheetah!" and they laugh & eat a zebra or whatever.

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 11,205
    • Participated in NANY Challenge Fourteen Times
    • Coding Snacks
    • Writer
    • Hardware Hacker
Re: Funny Comments in Your Code?
« Reply #8 on: November 10, 2012, 04:48 PM »
^ It's funny how I'm proud of my solution- then when I go back to it, it's like 'Did I write this?'.

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 11,205
    • Participated in NANY Challenge Fourteen Times
    • Coding Snacks
    • Writer
    • Hardware Hacker
Re: Funny Comments in Your Code?
« Reply #9 on: November 10, 2012, 04:49 PM »
It was liberally laced with profanity, and just hilarious!

I did this before, to earn an achievement in VS.  :-[

I've never seen that before! Love it~! :D

There is an extension for VS that tracks achievements: http://channel9.msdn.com/achievements/visualstudio

I know you're getting away from MS, so not sure how much that will be for you, but it's pretty hilarious, especially since I get them on the xbox and steam...

Tuxman

  • OMG not him again!
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,522
    • Participated in NANY Challenge Seven Times
Re: Funny Comments in Your Code?
« Reply #10 on: November 10, 2012, 04:49 PM »
Well, two years later I am still proud of it, because I have not thought about a better one. Why should I?  ;D
I bet when Cheetahs race and one of them cheats, the other one goes "Man, you're such a Cheetah!" and they laugh & eat a zebra or whatever.

Original address: https://www.donationcoder.com/forum/index.php?topic=32822.0