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. My best/worst variable name ever

My best/worst variable name ever

Scheduled Pinned Locked Moved The Lounge
question
32 Posts 14 Posters 1 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.
  • realJSOPR realJSOP

    I use COWCase a lot.

    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
    -----
    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
    -----
    When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

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

    Sure that's not PARTONcase? :cool:

    1 Reply Last reply
    0
    • G Gary Wheeler

      I use PascalCase for global scope, lower_case for local scope, private and protected members prefixed by '_'. Yes, StyleCop throws a hissy fit over my code. I don't care. camelCase doesn't provide enough visual differentiation from PascalCase for me and my middle-aged visual infirmities.

      Software Zen: delete this;

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

      Gary Wheeler wrote:

      StyleCop throws a hissy fit

      That's how you know you're doing things right. :thumbsup:

      1 Reply Last reply
      0
      • D Dale Barnard

        I just renamed someone's identifier that was called 'data' to be more self documenting: 'listOfThreeListsOfByteArrayRowThenColumnOfOneScaledColorChannel' I should either be promoted or fired for that. I'm not sure which. Can anyone top that for self-documenting identifier names?

        M Offline
        M Offline
        Marc Clifton
        wrote on last edited by
        #25

        Dale Barnard wrote:

        I should either be promoted or fired for that. I'm not sure which.

        You are clearly management material. Promote/fire yourself out of programming and as a manager, mandate that all variables should now be complete sentences with optional prepositional phrases. In your spare time, write a Lint utility that verifies compliance. Marc

        Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

        1 Reply Last reply
        0
        • G Gary Wheeler

          var ScaledColorChannelMatrixListTable = new List<byte[,]>[3];
          for (int i = 0; i < ScaledColorChannelMatrixListTable.Length; i++)
          {
          ScaledColorChannelMatrixListTable[i] = new List<byte[,]>();
          }

          do I hear banjos in the background?

          Software Zen: delete this;

          M Offline
          M Offline
          Matthew Dennis
          wrote on last edited by
          #26

          List[] ScaledColorChannelMatrixListTable = {
          new List(), new List(), new List()
          };

          1 Reply Last reply
          0
          • realJSOPR realJSOP

            I use COWCase a lot.

            ".45 ACP - because shooting twice is just silly" - JSOP, 2010
            -----
            You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
            -----
            When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

            T Offline
            T Offline
            TheGreatAndPowerfulOz
            wrote on last edited by
            #27

            That is very MOOOOOving.

            Decrease the belief in God, and you increase the numbers of those who wish to play at being God by being “society’s supervisors,” who deny the existence of divine standards, but are very serious about imposing their own standards on society.-Neal A. Maxwell You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun

            1 Reply Last reply
            0
            • realJSOPR realJSOP

              I suppose camelCase is better than camelToe...

              ".45 ACP - because shooting twice is just silly" - JSOP, 2010
              -----
              You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
              -----
              When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

              T Offline
              T Offline
              TheGreatAndPowerfulOz
              wrote on last edited by
              #28

              depends on one's perspective, I guess.

              Decrease the belief in God, and you increase the numbers of those who wish to play at being God by being “society’s supervisors,” who deny the existence of divine standards, but are very serious about imposing their own standards on society.-Neal A. Maxwell You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun

              1 Reply Last reply
              0
              • J Jeremy Falcon

                That assumption says more about you than me.

                Jeremy Falcon

                T Offline
                T Offline
                TheGreatAndPowerfulOz
                wrote on last edited by
                #29

                I make no assumptions, just responding to the post as-is. :-\

                Decrease the belief in God, and you increase the numbers of those who wish to play at being God by being “society’s supervisors,” who deny the existence of divine standards, but are very serious about imposing their own standards on society.-Neal A. Maxwell You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun

                J 1 Reply Last reply
                0
                • T TheGreatAndPowerfulOz

                  I make no assumptions, just responding to the post as-is. :-\

                  Decrease the belief in God, and you increase the numbers of those who wish to play at being God by being “society’s supervisors,” who deny the existence of divine standards, but are very serious about imposing their own standards on society.-Neal A. Maxwell You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun

                  J Offline
                  J Offline
                  Jeremy Falcon
                  wrote on last edited by
                  #30

                  That's cute.

                  Jeremy Falcon

                  1 Reply Last reply
                  0
                  • T TheGreatAndPowerfulOz

                    Oooh, dirty.

                    Decrease the belief in God, and you increase the numbers of those who wish to play at being God by being “society’s supervisors,” who deny the existence of divine standards, but are very serious about imposing their own standards on society.-Neal A. Maxwell You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun

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

                    ..is often a variable name too, if not a property :suss:

                    Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

                    1 Reply Last reply
                    0
                    • D Dale Barnard

                      I just renamed someone's identifier that was called 'data' to be more self documenting: 'listOfThreeListsOfByteArrayRowThenColumnOfOneScaledColorChannel' I should either be promoted or fired for that. I'm not sure which. Can anyone top that for self-documenting identifier names?

                      G Offline
                      G Offline
                      glennPattonPub
                      wrote on last edited by
                      #32

                      My best name was: RFpowerBoardUnderTestBoardGoldenAtempOne_Testthebloodything the under score was meant to be removed but wasn't I believe that it is still in use... I should be flayed for that :sigh:

                      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