Programmers just want to have fun

Discussion in 'Software' started by fury, Aug 15, 2011.

  1. fury

    fury Administrator Staff Member

    I saw this on stackoverflow while Googling for a C program that was shaped like a diamond and actually compiled and ran. Had a few laughs, mainly because some of the comments these guys write hit so close to home :p I frequently have no idea what I coded after I coded it and sit there wondering WTF.

    http://stackoverflow.com/questions/...ment-in-source-code-you-have-ever-encountered

    A few of my favorites:

    Code:
    // 
    // Dear maintainer:
    // 
    // Once you are done trying to 'optimize' this routine,
    // and have realized what a terrible mistake that was,
    // please increment the following counter as a warning
    // to the next guy:
    // 
    // total_hours_wasted_here = 39
    // 
    
    Code:
    /*
     * You may think you know what the following code does.
     * But you dont. Trust me.
     * Fiddle with it, and youll spend many a sleepless
     * night cursing the moment you thought youd be clever
     * enough to "optimize" the code below.
     * Now close this file and go play with something else.
     */ 
    Code:
     /**
       * This method leverages collective synergy to drive "outside of the box"
       * thinking and formulate key objectives into a win-win game plan with a
       * quality-driven approach that focuses on empowering key players to drive-up
       * their core competencies and increase expectations with an all-around
       * initiative to drive down the bottom-line. I really wanted to work the word
       * "mandrolic" in there, but that word always makes me want to punch myself in
       * the face.
       */
    private void updateFileCountLabel() {
     

Share This Page