Legacy Code Humor

Discussion in 'Programming' started by nevetS, Jun 20, 2007.

  1. #1
    Every once in a while, I run into an old piece of code that I wrote and I have to laugh.

    I just grabbed a piece of perl code and I found this lovely snippet:
    
        if(!$res){
            ##error handling
            print "got a fucking error!\n";
        } else {
    
    Code (markup):
    Gotta love those late nights.

    Anyhow, I thought it would be fun to start a topic where people shared their own snippets that probably should have ended up getting deleted.
     
    nevetS, Jun 20, 2007 IP
  2. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #2
    HAHA, yah, I'm glad a lot of people don't view my source... drunken curses in my comments, haha.
     
    ccoonen, Jun 20, 2007 IP
  3. login

    login Notable Member

    Messages:
    8,849
    Likes Received:
    349
    Best Answers:
    0
    Trophy Points:
    280
    #3
    Genuine nerd humor hehe.
     
    login, Jun 20, 2007 IP