Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Funny variable names

Funny variable names

Scheduled Pinned Locked Moved The Lounge
question
59 Posts 46 Posters 122 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W wizardzz

    It just happened to me now. Following a legacy naming convention my class had an object named pipTable, then I added feedTable, and now poolTable. I know it's not really funny, but when I'm coding and see variable names form something meaningful, it makes me :). I know this has happened to me many times before, occasionally causing me to reconsider the convention when the name becomes R or even X rated. Does anyone else have any examples or funny stories to add?

    D Offline
    D Offline
    David Crow
    wrote on last edited by
    #6

    wizardzz wrote:

    Does anyone else have any examples or funny stories to add?

    Reminds me of an article I read back in the early 90s about Microsoft function names and such. Remember Burgermaster?

    "One man's wage rise is another man's price increase." - Harold Wilson

    "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

    "Man who follows car will be exhausted." - Confucius

    1 Reply Last reply
    0
    • W wizardzz

      It just happened to me now. Following a legacy naming convention my class had an object named pipTable, then I added feedTable, and now poolTable. I know it's not really funny, but when I'm coding and see variable names form something meaningful, it makes me :). I know this has happened to me many times before, occasionally causing me to reconsider the convention when the name becomes R or even X rated. Does anyone else have any examples or funny stories to add?

      D Offline
      D Offline
      Dan Mos
      wrote on last edited by
      #7

      Some bool names example: if(thisIsBad){...} if(thisCantBeTrue/thisCanNotBeHappening){...} not a bool division in the row above I'm just lazy. :)

      I used to think.... Finally I realized it's no good.

      1 Reply Last reply
      0
      • W wizardzz

        It just happened to me now. Following a legacy naming convention my class had an object named pipTable, then I added feedTable, and now poolTable. I know it's not really funny, but when I'm coding and see variable names form something meaningful, it makes me :). I know this has happened to me many times before, occasionally causing me to reconsider the convention when the name becomes R or even X rated. Does anyone else have any examples or funny stories to add?

        L Offline
        L Offline
        Lutoslaw
        wrote on last edited by
        #8

        wizardzz wrote:

        Does anyone else have any examples or funny stories to add?

        A poor design of a huge JAVA system caused some GUI errors happen only at the first run. As a quick fix I've added a

        bool virgin = true;

        field which was set to false after the initiation initialization...

        Greetings - Jacek

        W H 2 Replies Last reply
        0
        • L Lutoslaw

          wizardzz wrote:

          Does anyone else have any examples or funny stories to add?

          A poor design of a huge JAVA system caused some GUI errors happen only at the first run. As a quick fix I've added a

          bool virgin = true;

          field which was set to false after the initiation initialization...

          Greetings - Jacek

          W Offline
          W Offline
          wizardzz
          wrote on last edited by
          #9

          You can get really creative naming the method to set that variable to false! I was looking through a colleague's class right now and came across GetHigh() which is suspect probably pretty common.

          1 Reply Last reply
          0
          • W wizardzz

            It just happened to me now. Following a legacy naming convention my class had an object named pipTable, then I added feedTable, and now poolTable. I know it's not really funny, but when I'm coding and see variable names form something meaningful, it makes me :). I know this has happened to me many times before, occasionally causing me to reconsider the convention when the name becomes R or even X rated. Does anyone else have any examples or funny stories to add?

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #10

            One of my previous companies came very close to releasing a product for installing software updates, whose acronym was COMIC! You can imagine the expressions on the faces of the European/UK teams when we first saw the announcement.

            Just say 'NO' to evaluated arguments for diadic functions! Ash

            D S 2 Replies Last reply
            0
            • W wizardzz

              It just happened to me now. Following a legacy naming convention my class had an object named pipTable, then I added feedTable, and now poolTable. I know it's not really funny, but when I'm coding and see variable names form something meaningful, it makes me :). I know this has happened to me many times before, occasionally causing me to reconsider the convention when the name becomes R or even X rated. Does anyone else have any examples or funny stories to add?

              V Offline
              V Offline
              virang_21
              wrote on last edited by
              #11

              I found this once in a code Transformer theOptimusPrime = new Transformer(); I laughed loud in my office and everyone turned at my desk as if I am watching some hilarious porn !!!! :)

              Zen and the art of software maintenance : rm -rf * Math is like love : a simple idea but it can get complicated.

              1 Reply Last reply
              0
              • L Lost User

                One of my previous companies came very close to releasing a product for installing software updates, whose acronym was COMIC! You can imagine the expressions on the faces of the European/UK teams when we first saw the announcement.

                Just say 'NO' to evaluated arguments for diadic functions! Ash

                D Offline
                D Offline
                David Crow
                wrote on last edited by
                #12

                Does COMIC mean something different in European/UK areas? :confused:

                "One man's wage rise is another man's price increase." - Harold Wilson

                "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

                "Man who follows car will be exhausted." - Confucius

                L 1 Reply Last reply
                0
                • W wizardzz

                  It just happened to me now. Following a legacy naming convention my class had an object named pipTable, then I added feedTable, and now poolTable. I know it's not really funny, but when I'm coding and see variable names form something meaningful, it makes me :). I know this has happened to me many times before, occasionally causing me to reconsider the convention when the name becomes R or even X rated. Does anyone else have any examples or funny stories to add?

                  P Offline
                  P Offline
                  Pete OHanlon
                  wrote on last edited by
                  #13

                  Not exactly funny, but I knew a developer who named a SocketException variable sex.

                  I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be

                  Forgive your enemies - it messes with their heads

                  My blog | My articles | MoXAML PowerToys | Onyx

                  S K 2 Replies Last reply
                  0
                  • W wizardzz

                    It just happened to me now. Following a legacy naming convention my class had an object named pipTable, then I added feedTable, and now poolTable. I know it's not really funny, but when I'm coding and see variable names form something meaningful, it makes me :). I know this has happened to me many times before, occasionally causing me to reconsider the convention when the name becomes R or even X rated. Does anyone else have any examples or funny stories to add?

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #14

                    A financial instrument called a spread has many legs. In c++ the std::vector class has a method called push_back spread.legs.push_back(...) always cracks me up

                    R 1 Reply Last reply
                    0
                    • L Lost User

                      A financial instrument called a spread has many legs. In c++ the std::vector class has a method called push_back spread.legs.push_back(...) always cracks me up

                      R Offline
                      R Offline
                      Roger Wright
                      wrote on last edited by
                      #15

                      :laugh: :laugh: Are we talking Bulls and Bears, or are there sheep involved?

                      Will Rogers never met me.

                      L 1 Reply Last reply
                      0
                      • D David Crow

                        Does COMIC mean something different in European/UK areas? :confused:

                        "One man's wage rise is another man's price increase." - Harold Wilson

                        "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

                        "Man who follows car will be exhausted." - Confucius

                        L Offline
                        L Offline
                        Lost User
                        wrote on last edited by
                        #16

                        COMIC is: a person who tells jokes, aka comedian. a child (or adult)'s magazine containing strip cartoons something that is supposed to be serious but makes people laugh inadvertently so a piece of software called COMIC is asking for trouble.

                        Just say 'NO' to evaluated arguments for diadic functions! Ash

                        W 1 Reply Last reply
                        0
                        • R Roger Wright

                          :laugh: :laugh: Are we talking Bulls and Bears, or are there sheep involved?

                          Will Rogers never met me.

                          L Offline
                          L Offline
                          Lost User
                          wrote on last edited by
                          #17

                          Roger Wright wrote:

                          Are we talking Bulls and Bears

                          yep

                          1 Reply Last reply
                          0
                          • W wizardzz

                            It just happened to me now. Following a legacy naming convention my class had an object named pipTable, then I added feedTable, and now poolTable. I know it's not really funny, but when I'm coding and see variable names form something meaningful, it makes me :). I know this has happened to me many times before, occasionally causing me to reconsider the convention when the name becomes R or even X rated. Does anyone else have any examples or funny stories to add?

                            T Offline
                            T Offline
                            Tom Delany
                            wrote on last edited by
                            #18

                            I was looking at some code the other day that had a file named "asstub.c" (ASSembler sTUB). We had a source file in an old project that was named "csanal.c". It was supposed to stand for "CSA NAL" (I forget what the abbreviations stood for now.) Of course, the name never got pronounced that way, much to the original developer's chagrin. :laugh:

                            WE ARE DYSLEXIC OF BORG. Refutance is systile. Your a$$ will be laminated. There are 10 kinds of people in the world: People who know binary and people who don't.

                            J 1 Reply Last reply
                            0
                            • W wizardzz

                              It just happened to me now. Following a legacy naming convention my class had an object named pipTable, then I added feedTable, and now poolTable. I know it's not really funny, but when I'm coding and see variable names form something meaningful, it makes me :). I know this has happened to me many times before, occasionally causing me to reconsider the convention when the name becomes R or even X rated. Does anyone else have any examples or funny stories to add?

                              M Offline
                              M Offline
                              Mycroft Holmes
                              wrote on last edited by
                              #19

                              I remember one in VB6 spit where an enum element was called date, we spent some time chasing down why all our dates were now 2. To this day I prefix an enum label eDate.

                              Never underestimate the power of human stupidity RAH

                              P 1 Reply Last reply
                              0
                              • M Mycroft Holmes

                                I remember one in VB6 spit where an enum element was called date, we spent some time chasing down why all our dates were now 2. To this day I prefix an enum label eDate.

                                Never underestimate the power of human stupidity RAH

                                P Offline
                                P Offline
                                PIEBALDconsult
                                wrote on last edited by
                                #20

                                Fully-qualified names should take care of that. :-D

                                M 1 Reply Last reply
                                0
                                • W wizardzz

                                  It just happened to me now. Following a legacy naming convention my class had an object named pipTable, then I added feedTable, and now poolTable. I know it's not really funny, but when I'm coding and see variable names form something meaningful, it makes me :). I know this has happened to me many times before, occasionally causing me to reconsider the convention when the name becomes R or even X rated. Does anyone else have any examples or funny stories to add?

                                  L Offline
                                  L Offline
                                  Lost User
                                  wrote on last edited by
                                  #21

                                  My very first programming training was in COBOL and we had to write a program that used GOTOs amongst other stuff. I named all of my paragraphs (tags for a GOTO destination for all you non-COBBOLlers) things like Mayfair ParkLane Jail DirectlyToJail CommunityChest Chance just so I could have GO TO JAIL GO DIRECTLYTOJAIL I just wish COBOL had exceptions, so I could have one called DICE :)

                                  ___________________________________________ .\\axxx (That's an 'M')

                                  1 Reply Last reply
                                  0
                                  • W wizardzz

                                    It just happened to me now. Following a legacy naming convention my class had an object named pipTable, then I added feedTable, and now poolTable. I know it's not really funny, but when I'm coding and see variable names form something meaningful, it makes me :). I know this has happened to me many times before, occasionally causing me to reconsider the convention when the name becomes R or even X rated. Does anyone else have any examples or funny stories to add?

                                    P Offline
                                    P Offline
                                    PIEBALDconsult
                                    wrote on last edited by
                                    #22

                                    Oh, you mean like on my last job; Gopher, Julie, Doc, Isaac, Merrill, Vicky, Judy... :cool:

                                    1 Reply Last reply
                                    0
                                    • P PIEBALDconsult

                                      Fully-qualified names should take care of that. :-D

                                      M Offline
                                      M Offline
                                      Mycroft Holmes
                                      wrote on last edited by
                                      #23

                                      PIEBALDconsult wrote:

                                      Fully-qualified names

                                      In VB6, I have to admit I can't remember if they were supported, they certainly weren't used.

                                      Never underestimate the power of human stupidity RAH

                                      1 Reply Last reply
                                      0
                                      • L Lost User

                                        One of my previous companies came very close to releasing a product for installing software updates, whose acronym was COMIC! You can imagine the expressions on the faces of the European/UK teams when we first saw the announcement.

                                        Just say 'NO' to evaluated arguments for diadic functions! Ash

                                        S Offline
                                        S Offline
                                        Steve Mayfield
                                        wrote on last edited by
                                        #24

                                        The company I work for has a product called I.C.M.S. (which sounds a lot like I see a mess) :doh:

                                        Steve _________________ I C(++) therefore I am

                                        1 Reply Last reply
                                        0
                                        • T Tom Delany

                                          I was looking at some code the other day that had a file named "asstub.c" (ASSembler sTUB). We had a source file in an old project that was named "csanal.c". It was supposed to stand for "CSA NAL" (I forget what the abbreviations stood for now.) Of course, the name never got pronounced that way, much to the original developer's chagrin. :laugh:

                                          WE ARE DYSLEXIC OF BORG. Refutance is systile. Your a$$ will be laminated. There are 10 kinds of people in the world: People who know binary and people who don't.

                                          J Offline
                                          J Offline
                                          Jason Christian
                                          wrote on last edited by
                                          #25

                                          Worked on a system that had 2 character prefixes (depending on the file) followed by 4 char field names (same across files), so there were fun items like xxPORN (Purchase Order Number) all over the place.

                                          J 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups