topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday April 16, 2024, 5:13 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Funny Comments in Your Code?  (Read 5546 times)

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,288
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Funny Comments in Your Code?
« on: November 09, 2012, 10:28 PM »
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
  • **
  • default avatar
  • Posts: 11,186
    • View Profile
    • Donate to Member
Re: Funny Comments in Your Code?
« Reply #1 on: November 09, 2012, 10:41 PM »
It was liberally laced with profanity, and just hilarious!

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

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,288
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: Funny Comments in Your Code?
« Reply #2 on: November 09, 2012, 11:08 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
Slow Down Music - Where I commit thought crimes...

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

Jibz

  • Developer
  • Joined in 2005
  • ***
  • Posts: 1,187
    • View Profile
    • Donate to Member
Re: Funny Comments in Your Code?
« Reply #3 on: November 10, 2012, 04: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.

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,288
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: Funny Comments in Your Code?
« Reply #4 on: November 10, 2012, 05: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...actal-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
  • ***
  • Points: 45
  • Posts: 3,411
    • View Profile
    • Donate to Member
Re: Funny Comments in Your Code?
« Reply #5 on: November 10, 2012, 05: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!!!!

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,288
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: Funny Comments in Your Code?
« Reply #6 on: November 10, 2012, 05: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

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,466
    • View Profile
    • Donate to Member
Re: Funny Comments in Your Code?
« Reply #7 on: November 10, 2012, 06:08 AM »
// Hell, am I proud of this solution!

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 11,186
    • View Profile
    • Donate to Member
Re: Funny Comments in Your Code?
« Reply #8 on: November 10, 2012, 10:48 AM »
^ 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
  • **
  • default avatar
  • Posts: 11,186
    • View Profile
    • Donate to Member
Re: Funny Comments in Your Code?
« Reply #9 on: November 10, 2012, 10:49 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

There is an extension for VS that tracks achievements: http://channel9.msdn...vements/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

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,466
    • View Profile
    • Donate to Member
Re: Funny Comments in Your Code?
« Reply #10 on: November 10, 2012, 10:49 AM »
Well, two years later I am still proud of it, because I have not thought about a better one. Why should I?  ;D