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. Ahhhrgghhhhhh! Naming Conventions That Suck

Ahhhrgghhhhhh! Naming Conventions That Suck

Scheduled Pinned Locked Moved The Lounge
30 Posts 16 Posters 0 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.
  • S SockPuppeteer

    We have a txt naming dev here at the coalface. So I am plagued with method names like AddChild2Parent and KeepUp2Date Jeez! it's one flaming character you're saving yourself! it drives me 2 distraction!

    .\\axxx

    S Offline
    S Offline
    Super Lloyd
    wrote on last edited by
    #5

    Just change the method's name, VS will refactor the code for ya, problem solved! :-D It's a much more difficult problem with ginormous spaghetti code... :((

    A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

    P G 2 Replies Last reply
    0
    • S Super Lloyd

      Just change the method's name, VS will refactor the code for ya, problem solved! :-D It's a much more difficult problem with ginormous spaghetti code... :((

      A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

      P Offline
      P Offline
      PaulowniaK
      wrote on last edited by
      #6

      Super Lloyd wrote:

      Just change the method's name, VS will refactor the code for ya, problem solved!

      Yes, the more recent versions of VS will do that for you... :|

      Super Lloyd wrote:

      It's a much more difficult problem with ginormous spaghetti code..

      This kind of relates to the problem above. I also have this problem where a function can be as long as 1000 lines, perhaps more. Everything is so complicatedly intertwined that intellisence has long given up and a normal text search and a seasoned programmer's haunch are the only way to navigate through the mess... :~

      Almost, but not quite, entirely unlike... me...

      M 1 Reply Last reply
      0
      • S Super Lloyd

        Just change the method's name, VS will refactor the code for ya, problem solved! :-D It's a much more difficult problem with ginormous spaghetti code... :((

        A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

        G Offline
        G Offline
        grralph1
        wrote on last edited by
        #7

        Your response forced me to look up the word 'ginormous' I was disappointed with the result as I was expecting something really different. Never heard this word before. Learn something new every day, even if it isn't ginormous or elephantine, at least it is something.

        M S 2 Replies Last reply
        0
        • P PaulowniaK

          Super Lloyd wrote:

          Just change the method's name, VS will refactor the code for ya, problem solved!

          Yes, the more recent versions of VS will do that for you... :|

          Super Lloyd wrote:

          It's a much more difficult problem with ginormous spaghetti code..

          This kind of relates to the problem above. I also have this problem where a function can be as long as 1000 lines, perhaps more. Everything is so complicatedly intertwined that intellisence has long given up and a normal text search and a seasoned programmer's haunch are the only way to navigate through the mess... :~

          Almost, but not quite, entirely unlike... me...

          M Offline
          M Offline
          Mark_Wallace
          wrote on last edited by
          #8

          PaulowniaK wrote:

          Yes, the more recent versions of VS will do that for you...

          The earliest versions of VB would do that for you, which shows that, far from being a defunct, horrible language, VB was actually ahead of its time, and all the programs that our children write will be written in VB. JSOP will be so happy and proud when his favourite language finally receives the recognition it deserves.

          I wanna be a eunuchs developer! Pass me a bread knife!

          1 Reply Last reply
          0
          • S SockPuppeteer

            We have a txt naming dev here at the coalface. So I am plagued with method names like AddChild2Parent and KeepUp2Date Jeez! it's one flaming character you're saving yourself! it drives me 2 distraction!

            .\\axxx

            J Offline
            J Offline
            Jorgen Andersson
            wrote on last edited by
            #9

            If that's the worst problem you have I envy you.

            People say nothing is impossible, but I do nothing every day.

            1 Reply Last reply
            0
            • G grralph1

              Your response forced me to look up the word 'ginormous' I was disappointed with the result as I was expecting something really different. Never heard this word before. Learn something new every day, even if it isn't ginormous or elephantine, at least it is something.

              M Offline
              M Offline
              Mark_Wallace
              wrote on last edited by
              #10

              It's a "fusion" (since that's the in word) of gigantic and enormous, and therefore a calculated and appropriate use of poor English for this thread, innit?

              I wanna be a eunuchs developer! Pass me a bread knife!

              G J H 3 Replies Last reply
              0
              • S SockPuppeteer

                We have a txt naming dev here at the coalface. So I am plagued with method names like AddChild2Parent and KeepUp2Date Jeez! it's one flaming character you're saving yourself! it drives me 2 distraction!

                .\\axxx

                M Offline
                M Offline
                Mark_Wallace
                wrote on last edited by
                #11

                Ax him ta fix it 4 u

                I wanna be a eunuchs developer! Pass me a bread knife!

                S D 2 Replies Last reply
                0
                • G grralph1

                  Your response forced me to look up the word 'ginormous' I was disappointed with the result as I was expecting something really different. Never heard this word before. Learn something new every day, even if it isn't ginormous or elephantine, at least it is something.

                  S Offline
                  S Offline
                  Super Lloyd
                  wrote on last edited by
                  #12

                  I mean humongous, my bad! :( you know, so gigantic it's preposterous!!!

                  A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

                  G 1 Reply Last reply
                  0
                  • M Mark_Wallace

                    Ax him ta fix it 4 u

                    I wanna be a eunuchs developer! Pass me a bread knife!

                    S Offline
                    S Offline
                    Super Lloyd
                    wrote on last edited by
                    #13

                    exactly bro!! :laugh:

                    A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

                    1 Reply Last reply
                    0
                    • S SockPuppeteer

                      We have a txt naming dev here at the coalface. So I am plagued with method names like AddChild2Parent and KeepUp2Date Jeez! it's one flaming character you're saving yourself! it drives me 2 distraction!

                      .\\axxx

                      J Offline
                      J Offline
                      jim lahey
                      wrote on last edited by
                      #14

                      We've got people who insist on prefixing everything with the first letter of the company we work for, "so that we know what is ours and what isn't". Namespaces are not enough it seems.

                      M 1 Reply Last reply
                      0
                      • M Mark_Wallace

                        It's a "fusion" (since that's the in word) of gigantic and enormous, and therefore a calculated and appropriate use of poor English for this thread, innit?

                        I wanna be a eunuchs developer! Pass me a bread knife!

                        G Offline
                        G Offline
                        grralph1
                        wrote on last edited by
                        #15

                        Thanks Mark for the clarification. One would think that, someone with my intelligence, would have realised this immediately. I misread it and my brain mispronouced it and I got excited about a new word. I do like fusion words though. Your clarification has cleared the whole issue. ...and made me feel a bit dumb Thanks

                        B 1 Reply Last reply
                        0
                        • S Super Lloyd

                          I mean humongous, my bad! :( you know, so gigantic it's preposterous!!!

                          A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

                          G Offline
                          G Offline
                          grralph1
                          wrote on last edited by
                          #16

                          It wasn't bad. It was a great description and I have a new word to add to my vocab...

                          1 Reply Last reply
                          0
                          • M Mark_Wallace

                            Ax him ta fix it 4 u

                            I wanna be a eunuchs developer! Pass me a bread knife!

                            D Offline
                            D Offline
                            dan sh
                            wrote on last edited by
                            #17

                            Mark Wallace wrote:

                            Ax him ta fix it 4 u

                            FTFY

                            "Bastards encourage idiots to use Oracle Forms, Web Forms, Access and a number of other dinky web publishing tolls.", Mycroft Holmes[^]

                            R 1 Reply Last reply
                            0
                            • S SockPuppeteer

                              We have a txt naming dev here at the coalface. So I am plagued with method names like AddChild2Parent and KeepUp2Date Jeez! it's one flaming character you're saving yourself! it drives me 2 distraction!

                              .\\axxx

                              A Offline
                              A Offline
                              Abhinav S
                              wrote on last edited by
                              #18

                              SockPuppeteer wrote:

                              Ahhhrgghhhhhh

                              That sounds like a good variable name.

                              WP7.5 Apps - XKCD | Calvin | SMBC | Sound Meter | Speed Dial

                              Richard DeemingR 1 Reply Last reply
                              0
                              • G grralph1

                                Thanks Mark for the clarification. One would think that, someone with my intelligence, would have realised this immediately. I misread it and my brain mispronouced it and I got excited about a new word. I do like fusion words though. Your clarification has cleared the whole issue. ...and made me feel a bit dumb Thanks

                                B Offline
                                B Offline
                                Brady Kelly
                                wrote on last edited by
                                #19

                                Guys, there is a proper name for 'fusion words'. Ginormous is a portmanteau.

                                M G 2 Replies Last reply
                                0
                                • D dan sh

                                  Mark Wallace wrote:

                                  Ax him ta fix it 4 u

                                  FTFY

                                  "Bastards encourage idiots to use Oracle Forms, Web Forms, Access and a number of other dinky web publishing tolls.", Mycroft Holmes[^]

                                  R Offline
                                  R Offline
                                  Rage
                                  wrote on last edited by
                                  #20

                                  This is brilliant on many levels.

                                  ~RaGE();

                                  I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb

                                  M 1 Reply Last reply
                                  0
                                  • J jim lahey

                                    We've got people who insist on prefixing everything with the first letter of the company we work for, "so that we know what is ours and what isn't". Namespaces are not enough it seems.

                                    M Offline
                                    M Offline
                                    Mark_Wallace
                                    wrote on last edited by
                                    #21

                                    Take advantage of it, e.g. if your company name starts with "W", use a lot of anchors.

                                    I wanna be a eunuchs developer! Pass me a bread knife!

                                    J 1 Reply Last reply
                                    0
                                    • B Brady Kelly

                                      Guys, there is a proper name for 'fusion words'. Ginormous is a portmanteau.

                                      M Offline
                                      M Offline
                                      Mark_Wallace
                                      wrote on last edited by
                                      #22

                                      <Turns up nose> Oh, you are so out of vogue... <Restores nose to its original shape>

                                      I wanna be a eunuchs developer! Pass me a bread knife!

                                      B 1 Reply Last reply
                                      0
                                      • M Mark_Wallace

                                        <Turns up nose> Oh, you are so out of vogue... <Restores nose to its original shape>

                                        I wanna be a eunuchs developer! Pass me a bread knife!

                                        B Offline
                                        B Offline
                                        Brady Kelly
                                        wrote on last edited by
                                        #23

                                        I know. Grumpy old man I am.

                                        1 Reply Last reply
                                        0
                                        • R Rage

                                          This is brilliant on many levels.

                                          ~RaGE();

                                          I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb

                                          M Offline
                                          M Offline
                                          Mark_Wallace
                                          wrote on last edited by
                                          #24

                                          It has to be, because when you chop a bit off one leg, it still wobbles, so you have to chop an bit off the other, but it'll still wobble, so you have to... etc.

                                          I wanna be a eunuchs developer! Pass me a bread knife!

                                          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