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. Other Discussions
  3. The Soapbox
  4. Naming conventions

Naming conventions

Scheduled Pinned Locked Moved The Soapbox
architecturetutorial
10 Posts 6 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.
  • W Offline
    W Offline
    William Winner
    wrote on last edited by
    #1

    Shouldn't we say that anyone that posts code that they're actually using with naming conventions like "TextBox1" "TextBox2" "TextBox3" "Button1" should be assigned a membership type of "Moron" until they can prove they know how to properly name a control. That would give them some sort of icon like the "CP MVP" icon whenever they post something but it would simply say, "Moron" written across it.

    I R C 3 Replies Last reply
    0
    • W William Winner

      Shouldn't we say that anyone that posts code that they're actually using with naming conventions like "TextBox1" "TextBox2" "TextBox3" "Button1" should be assigned a membership type of "Moron" until they can prove they know how to properly name a control. That would give them some sort of icon like the "CP MVP" icon whenever they post something but it would simply say, "Moron" written across it.

      I Offline
      I Offline
      Ian Shlasko
      wrote on last edited by
      #2

      Man, now I'm tempted to submit a Question with controls like ButtonI, TextBoxXIV, LabelVIII... Or maybe FormKappa, Label2992185773, and TextBoxTheOneOverThereWithTheThing :)

      Proud to have finally moved to the A-Ark. Which one are you in?
      Author of the Guardians Saga (Sci-Fi/Fantasy novels)

      W 1 Reply Last reply
      0
      • I Ian Shlasko

        Man, now I'm tempted to submit a Question with controls like ButtonI, TextBoxXIV, LabelVIII... Or maybe FormKappa, Label2992185773, and TextBoxTheOneOverThereWithTheThing :)

        Proud to have finally moved to the A-Ark. Which one are you in?
        Author of the Guardians Saga (Sci-Fi/Fantasy novels)

        W Offline
        W Offline
        William Winner
        wrote on last edited by
        #3

        :thumbsup: Hey, if you used roman numerals, at least I would know you actually changed them yourself! And if you used 2992185773, maybe you're just this woman: http://www.flickr.com/photos/ladym_photojournal/2992185773/[^]! And, what's wrong with TextBoxTheOneOverThereWithTheThing? I use that every day!

        I 1 Reply Last reply
        0
        • W William Winner

          :thumbsup: Hey, if you used roman numerals, at least I would know you actually changed them yourself! And if you used 2992185773, maybe you're just this woman: http://www.flickr.com/photos/ladym_photojournal/2992185773/[^]! And, what's wrong with TextBoxTheOneOverThereWithTheThing? I use that every day!

          I Offline
          I Offline
          Ian Shlasko
          wrote on last edited by
          #4

          William Winner wrote:

          And, what's wrong with TextBoxTheOneOverThereWithTheThing? I use that every day!

          It can get confusing...

          TextBoxTheOneOverThereWithTheThing.Top
          = ButtonThatOneUnderTheThingNextToTheOtherThing.Top
          - LabelOnTopOfTheOtherThing.Top
          + FormWithLotsOfNeatStuffOnItThatMakesYouDieALittleInside.Top

          Proud to have finally moved to the A-Ark. Which one are you in?
          Author of the Guardians Saga (Sci-Fi/Fantasy novels)

          S 1 Reply Last reply
          0
          • I Ian Shlasko

            William Winner wrote:

            And, what's wrong with TextBoxTheOneOverThereWithTheThing? I use that every day!

            It can get confusing...

            TextBoxTheOneOverThereWithTheThing.Top
            = ButtonThatOneUnderTheThingNextToTheOtherThing.Top
            - LabelOnTopOfTheOtherThing.Top
            + FormWithLotsOfNeatStuffOnItThatMakesYouDieALittleInside.Top

            Proud to have finally moved to the A-Ark. Which one are you in?
            Author of the Guardians Saga (Sci-Fi/Fantasy novels)

            S Offline
            S Offline
            Single Step Debugger
            wrote on last edited by
            #5

            It looks perfectly consistent to me. Could I use this naming convention in my projects or it’s already copy writhed?

            The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

            I 1 Reply Last reply
            0
            • S Single Step Debugger

              It looks perfectly consistent to me. Could I use this naming convention in my projects or it’s already copy writhed?

              The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

              I Offline
              I Offline
              Ian Shlasko
              wrote on last edited by
              #6

              Deyan Georgiev wrote:

              copy writhed

              Copy-writhed (n): So encumbered in litigation that you writhe in pain?

              Proud to have finally moved to the A-Ark. Which one are you in?
              Author of the Guardians Saga (Sci-Fi/Fantasy novels)

              1 Reply Last reply
              0
              • W William Winner

                Shouldn't we say that anyone that posts code that they're actually using with naming conventions like "TextBox1" "TextBox2" "TextBox3" "Button1" should be assigned a membership type of "Moron" until they can prove they know how to properly name a control. That would give them some sort of icon like the "CP MVP" icon whenever they post something but it would simply say, "Moron" written across it.

                R Offline
                R Offline
                RichardM1
                wrote on last edited by
                #7

                The problem with that is that I do it on purpose. :-O If I have a problem, I am often not allowed to put the real code on line. I tear it down to the minimum possible set of code, forms, controls, etc, and rebuild it in a separate project with generic control names, variable names, use a different userID to log in, route through a proxy in a second country and type with an accent from a third country, in a language from a fourth country.

                Opacity, the new Transparency.

                P 1 Reply Last reply
                0
                • R RichardM1

                  The problem with that is that I do it on purpose. :-O If I have a problem, I am often not allowed to put the real code on line. I tear it down to the minimum possible set of code, forms, controls, etc, and rebuild it in a separate project with generic control names, variable names, use a different userID to log in, route through a proxy in a second country and type with an accent from a third country, in a language from a fourth country.

                  Opacity, the new Transparency.

                  P Online
                  P Online
                  Peter_in_2780
                  wrote on last edited by
                  #8

                  RichardM1 wrote:

                  generic control names, variable names, use a different userID to log in, route through a proxy in a second country and type with an accent from a third country, in a language from a fourth country.

                  Kind of explains your signature...

                  Software rusts. Simon Stephenson, ca 1994.

                  R 1 Reply Last reply
                  0
                  • P Peter_in_2780

                    RichardM1 wrote:

                    generic control names, variable names, use a different userID to log in, route through a proxy in a second country and type with an accent from a third country, in a language from a fourth country.

                    Kind of explains your signature...

                    Software rusts. Simon Stephenson, ca 1994.

                    R Offline
                    R Offline
                    RichardM1
                    wrote on last edited by
                    #9

                    :laugh: :laugh: :laugh: :laugh: :laugh: 5 and 5 laughs!

                    Opacity, the new Transparency.

                    1 Reply Last reply
                    0
                    • W William Winner

                      Shouldn't we say that anyone that posts code that they're actually using with naming conventions like "TextBox1" "TextBox2" "TextBox3" "Button1" should be assigned a membership type of "Moron" until they can prove they know how to properly name a control. That would give them some sort of icon like the "CP MVP" icon whenever they post something but it would simply say, "Moron" written across it.

                      C Offline
                      C Offline
                      Corporal Agarn
                      wrote on last edited by
                      #10

                      Gee thanks I spend time renaming all those button names to hide them. :laugh:

                      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