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 29 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?

    R Offline
    R Offline
    Richard Hylton
    wrote on last edited by
    #47

    Not sure this is funny. Quite sure that it amused my small mind. I was working on a Purchase Order project and somehow variables ended up being named c3PO and extensions of that name.

    RHYlton

    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
      programmervb netc
      wrote on last edited by
      #48

      yorn What is that you ask...... Yes or No....dumb We also have a set of classes we call the blue classes because they all start with smrf. Bad thing is the little smurfs keep multiplying. Humble Programmer

      W 1 Reply Last reply
      0
      • P programmervb netc

        yorn What is that you ask...... Yes or No....dumb We also have a set of classes we call the blue classes because they all start with smrf. Bad thing is the little smurfs keep multiplying. Humble Programmer

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

        Much like many engineering departments, there is only one female smurf. She must be quite busy if they are multiplying.

        1 Reply Last reply
        0
        • D Daniel Tak M

          When I can't come up with a good name for a class, I sometimes ask a colleague (not a coder) for help... that's why there's a class called "ChiefCommander" in one of my projects (the class administrates many major parts of the app).

          B Offline
          B Offline
          Br Bill
          wrote on last edited by
          #50

          I worked on a build system for a company's huge software project. It had many options, and the variables inside the script files stored parameters for the build. For some reason, the variable names never exceeded 10 characters. For example, PROF_TOOL could contain the name of one of 3 different profiling tools, depending on the software language and version. In addition to PROF_TOOL, there were also: ARCH_TOOL - name of archiver COMP_TOOL - compiler LINK_TOOL - linker and my favorite, the code analysis tool : ANAL_TOOL . Everybody else at the company always spoke it to rhyme with "canal tool", but I took immature joy in always pronouncing it exactly the way it looks. "So which ANAL_TOOL were you using when you encountered the problem?" I'm a jerk.

          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?

            G Offline
            G Offline
            ghle
            wrote on last edited by
            #51

            wizardzz wrote:

            have any examples

            Financial software, Asset Manager = AssMgr In the old days (64KB was a lot), we had a program overlay on RAM that could reconfigure our machine tool software tables that resided in the RAM. The overlay program was call the Configurator. It was possible to reconfigure the system so that the RAM tables grew so large that they expanded into the Executive program area. We needed a flag for that, so that we could crash the executive program gracefully upon reload, instead of a run-away program. Name of the flag, of course, was FCEM 'Figurator Crashed Executive Memory. Yes, the FCEM flag (hard C, aka K). If it ever was TRUE, well, you were f....d. :-O

            Gary

            1 Reply Last reply
            0
            • S ScottM1

              But then what would he call his SQLExceptions?

              M Offline
              M Offline
              meaningoflights
              wrote on last edited by
              #52

              sexual exceptions... At previous workplace there was a guy named Ray. A couple of us were looking at this weird stored proc and we kept on saying: "WTF is this Raise Error" "bloody Raise error is the cause of all our problems" He eventually stormed over and YELLS - "WHAT THE FUCK ITS NOT MY ERROR!"

              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?

                K Offline
                K Offline
                kxal
                wrote on last edited by
                #53

                well,I really think naming a varible is difficult,especially in a large project.It always takes me a lot of time to find out a meaningful name,and I often worried about whether I name two varibles the same name.

                1 Reply Last reply
                0
                • P Pete OHanlon

                  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

                  K Offline
                  K Offline
                  ksdhulipala
                  wrote on last edited by
                  #54

                  I did that in my recent code inadvertently and no wants to discuss that part in code review

                  Krishna ----------------------------------------------- VP:" This is an attrition time. The work is huge. If we do not complete in time, we will be paying huge penalty. Take all the resources you want, recruit or take people from other departments and complete the work in 25 days." Manager: (Humbly) "Sir, give me one wife and nine months and I shall show you results.Don't give me nine wives and one month, I cannot do anything." The VP just walked away

                  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
                    David Snow
                    wrote on last edited by
                    #55

                    As I sit here reading this there is an ad just below ehhorting me to try some product called Aspose. Hmmm.. Is this for real?

                    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
                      P0110X
                      wrote on last edited by
                      #56

                      it happens to me a lot because I mix spanish and english... english for prefixes like get, set, delete... and spanish for business objects. A friend some weeks ago wrote something like GetFacturasByFecha (which means GetBillsByDate) kinda funny when someone else checks it and tries to understand what were the developer thinking to write something like that xD

                      _class MySignature _{ __public override void toString() __{ ____return "hi ;)"; __} _}

                      1 Reply Last reply
                      0
                      • L Lost User

                        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 Offline
                        W Offline
                        W Balboos GHB
                        wrote on last edited by
                        #57

                        A bit off topic, but the same idea on a grander scale: There once was a vehicle from Chevrolet call the Nova - named after an exploding star to most of us . . . . . . but, in Latin America, the car just wouldn't sell . . . Because, in Spanish, Nova is read "No Va", which translates to Won't Go (literally, No Go). Did someone say oops ?

                        "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                        "As far as we know, our computer has never had an undetected error." - Weisert

                        "If you are searching for perfection in others, then you seek dissappointment. If you are searching for perfection in yourself, then you seek failure." - Balboos HaGadol Mar 2010

                        L 1 Reply Last reply
                        0
                        • W W Balboos GHB

                          A bit off topic, but the same idea on a grander scale: There once was a vehicle from Chevrolet call the Nova - named after an exploding star to most of us . . . . . . but, in Latin America, the car just wouldn't sell . . . Because, in Spanish, Nova is read "No Va", which translates to Won't Go (literally, No Go). Did someone say oops ?

                          "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                          "As far as we know, our computer has never had an undetected error." - Weisert

                          "If you are searching for perfection in others, then you seek dissappointment. If you are searching for perfection in yourself, then you seek failure." - Balboos HaGadol Mar 2010

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

                          GM did the same thing in Europe with the Vauxhal Nova (allegedly).

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

                          1 Reply Last reply
                          0
                          • D Daniel Tak M

                            When I can't come up with a good name for a class, I sometimes ask a colleague (not a coder) for help... that's why there's a class called "ChiefCommander" in one of my projects (the class administrates many major parts of the app).

                            J Offline
                            J Offline
                            Johann Gerell
                            wrote on last edited by
                            #59

                            Tak wrote:

                            ChiefCommander

                            a.k.a. "God".

                            Time you enjoy wasting is not wasted time - Bertrand Russel

                            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