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. SMS-speak in code (aka 'It had to happen')

SMS-speak in code (aka 'It had to happen')

Scheduled Pinned Locked Moved The Lounge
question
29 Posts 17 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.
  • J Offline
    J Offline
    Johann van der Smut
    wrote on last edited by
    #1

    I decided to rewrite a colleague's code, since it was a steaming pile of dung. X| Imagine my horror when I found variables like FndsMovd, to denote the funds moved. He was too lazy to type an extra u and e? :wtf: Intc was intercept, Errs was Errors and regSusp was regional suspense. WTF? How on earth is somebody who's looking at the code for the first time to know what they mean? 4 years of experience. :sigh: If I ever find such people working for me... :mad: I suspect if confronted, he would say he used shorter variable names for efficiency. :suss: ~ Nazgûl

    G S P B R 7 Replies Last reply
    0
    • J Johann van der Smut

      I decided to rewrite a colleague's code, since it was a steaming pile of dung. X| Imagine my horror when I found variables like FndsMovd, to denote the funds moved. He was too lazy to type an extra u and e? :wtf: Intc was intercept, Errs was Errors and regSusp was regional suspense. WTF? How on earth is somebody who's looking at the code for the first time to know what they mean? 4 years of experience. :sigh: If I ever find such people working for me... :mad: I suspect if confronted, he would say he used shorter variable names for efficiency. :suss: ~ Nazgûl

      G Offline
      G Offline
      Gary Wheeler
      wrote on last edited by
      #2

      You youngsters :rolleyes:. Back when I first learned programming (in FORTRAN), we had six whole characters for variable names. A name like "OMIDBK" would be short for "OutputManagerInitializeDataBaseKey".

      My other CP account wrote:

      How on earth is somebody who's looking at the code for the first time to know what they mean?

      // try some of these

      :laugh:


      Software Zen: delete this;

      P 1 Reply Last reply
      0
      • J Johann van der Smut

        I decided to rewrite a colleague's code, since it was a steaming pile of dung. X| Imagine my horror when I found variables like FndsMovd, to denote the funds moved. He was too lazy to type an extra u and e? :wtf: Intc was intercept, Errs was Errors and regSusp was regional suspense. WTF? How on earth is somebody who's looking at the code for the first time to know what they mean? 4 years of experience. :sigh: If I ever find such people working for me... :mad: I suspect if confronted, he would say he used shorter variable names for efficiency. :suss: ~ Nazgûl

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

        Well, certainly nice variable name help for clarity. But going all the way to say that code quality is in direct relation to variable name is a bit far fetched, don't you think? :-D

        P J G C realJSOPR 6 Replies Last reply
        0
        • S Super Lloyd

          Well, certainly nice variable name help for clarity. But going all the way to say that code quality is in direct relation to variable name is a bit far fetched, don't you think? :-D

          P Offline
          P Offline
          peterchen
          wrote on last edited by
          #4

          Super Lloyd wrote:

          is a bit far fetched, don't you think?

          I hope you are kidding.


          We say "get a life" to each other, disappointed or jokingly. What we forget, though, is that this is possibly the most destructive advice you can give to a geek.
          boost your code || Fold With Us! || sighist

          1 Reply Last reply
          0
          • G Gary Wheeler

            You youngsters :rolleyes:. Back when I first learned programming (in FORTRAN), we had six whole characters for variable names. A name like "OMIDBK" would be short for "OutputManagerInitializeDataBaseKey".

            My other CP account wrote:

            How on earth is somebody who's looking at the code for the first time to know what they mean?

            // try some of these

            :laugh:


            Software Zen: delete this;

            P Offline
            P Offline
            ProffK
            wrote on last edited by
            #5

            With such restrictions you often find clarity in a certain structure, such as the first two mean this, the next two that etc. The vowel-o-phobe is normally worse. I used to get high on life until I realized that life was cut with morons - Unknown

            G 1 Reply Last reply
            0
            • S Super Lloyd

              Well, certainly nice variable name help for clarity. But going all the way to say that code quality is in direct relation to variable name is a bit far fetched, don't you think? :-D

              J Offline
              J Offline
              Johann van der Smut
              wrote on last edited by
              #6

              Super Lloyd wrote:

              But going all the way to say that code quality is in direct relation to variable name is a bit far fetched, don't you think?

              You're joking, right? :| I'm going to post other, better, shinier gems; but first, I need to complete cleaning up this mess. ~ Nazgûl +++++++++++++

              1 Reply Last reply
              0
              • S Super Lloyd

                Well, certainly nice variable name help for clarity. But going all the way to say that code quality is in direct relation to variable name is a bit far fetched, don't you think? :-D

                G Offline
                G Offline
                Gary Wheeler
                wrote on last edited by
                #7

                Let's put it this way. Suppose Da Vinci had used a pushbroom to paint The Last Supper. Do you think the results would be the same?


                Software Zen: delete this;

                1 Reply Last reply
                0
                • P ProffK

                  With such restrictions you often find clarity in a certain structure, such as the first two mean this, the next two that etc. The vowel-o-phobe is normally worse. I used to get high on life until I realized that life was cut with morons - Unknown

                  G Offline
                  G Offline
                  Gary Wheeler
                  wrote on last edited by
                  #8

                  Unfortunately, I work with a guy like the vowel-o-phobe. The good thing is, he's consistent in how he does it, so at least you know what to expect. It could be the original complaint is partially based on inconsistency.


                  Software Zen: delete this;

                  1 Reply Last reply
                  0
                  • S Super Lloyd

                    Well, certainly nice variable name help for clarity. But going all the way to say that code quality is in direct relation to variable name is a bit far fetched, don't you think? :-D

                    C Offline
                    C Offline
                    Chris Losinger
                    wrote on last edited by
                    #9

                    Super Lloyd wrote:

                    But going all the way to say that code quality is in direct relation to variable name is a bit far fetched, don't you think?

                    IMO, yes. Cleek | Image Toolkits | Thumbnail maker

                    1 Reply Last reply
                    0
                    • J Johann van der Smut

                      I decided to rewrite a colleague's code, since it was a steaming pile of dung. X| Imagine my horror when I found variables like FndsMovd, to denote the funds moved. He was too lazy to type an extra u and e? :wtf: Intc was intercept, Errs was Errors and regSusp was regional suspense. WTF? How on earth is somebody who's looking at the code for the first time to know what they mean? 4 years of experience. :sigh: If I ever find such people working for me... :mad: I suspect if confronted, he would say he used shorter variable names for efficiency. :suss: ~ Nazgûl

                      P Offline
                      P Offline
                      Paul Watson
                      wrote on last edited by
                      #10

                      The others are horrible but Errs is perfectly acceptable IMO. regards, Paul Watson Ireland Colib and ilikecameras. K(arl) wrote: oh, and BTW, CHRISTIAN ISN'T A PARADOX, HE IS A TASMANIAN!

                      A 1 Reply Last reply
                      0
                      • S Super Lloyd

                        Well, certainly nice variable name help for clarity. But going all the way to say that code quality is in direct relation to variable name is a bit far fetched, don't you think? :-D

                        realJSOPR Offline
                        realJSOPR Offline
                        realJSOP
                        wrote on last edited by
                        #11

                        Code quality is measured in many more important ways than "it works". ------- sig starts "I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                        S 1 Reply Last reply
                        0
                        • realJSOPR realJSOP

                          Code quality is measured in many more important ways than "it works". ------- sig starts "I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

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

                          John Simmons / outlaw programmer wrote:

                          Code quality is measured in many more important ways than "it works".

                          So? . . . . . . . . Exemple: I worked with dyslexic, doesn't prevent them of being good coder with efficient and maintainable code. And I think the 2 above quality matter way more that variable naming.

                          J S 2 Replies Last reply
                          0
                          • J Johann van der Smut

                            I decided to rewrite a colleague's code, since it was a steaming pile of dung. X| Imagine my horror when I found variables like FndsMovd, to denote the funds moved. He was too lazy to type an extra u and e? :wtf: Intc was intercept, Errs was Errors and regSusp was regional suspense. WTF? How on earth is somebody who's looking at the code for the first time to know what they mean? 4 years of experience. :sigh: If I ever find such people working for me... :mad: I suspect if confronted, he would say he used shorter variable names for efficiency. :suss: ~ Nazgûl

                            B Offline
                            B Offline
                            brianwelsch
                            wrote on last edited by
                            #13

                            Pfft... that's nothing. I get a whopping 8 characters to work with. Often there's no comment associated with the definition, so I have to dig through the code to figure out what HLDGFREM or ONEQ5 does. It's not unusual to find variables cut and pasted from other programs that aren't used at all, or find multiple versions of a constant like HEX0 and ZERO. It's a freaking joy. :sigh: BW


                            If you're not part of the solution, you're part of the precipitate.
                            -- Steven Wright

                            1 Reply Last reply
                            0
                            • S Super Lloyd

                              John Simmons / outlaw programmer wrote:

                              Code quality is measured in many more important ways than "it works".

                              So? . . . . . . . . Exemple: I worked with dyslexic, doesn't prevent them of being good coder with efficient and maintainable code. And I think the 2 above quality matter way more that variable naming.

                              J Offline
                              J Offline
                              Johann van der Smut
                              wrote on last edited by
                              #14

                              Super Lloyd wrote:

                              So?

                              Lloyd, there's much more. :| Think of what I posted today as the trailer. ;P ~ Nazgûl +++++++++++++

                              1 Reply Last reply
                              0
                              • S Super Lloyd

                                Well, certainly nice variable name help for clarity. But going all the way to say that code quality is in direct relation to variable name is a bit far fetched, don't you think? :-D

                                A Offline
                                A Offline
                                Alvaro Mendez
                                wrote on last edited by
                                #15

                                Super Lloyd wrote:

                                But going all the way to say that code quality is in direct relation to variable name is a bit far fetched, don't you think?

                                Ye, am wit u. I abbr. my vars all da tim & my cde's of grt qlty. ;P Rgds, AM


                                1 Reply Last reply
                                0
                                • P Paul Watson

                                  The others are horrible but Errs is perfectly acceptable IMO. regards, Paul Watson Ireland Colib and ilikecameras. K(arl) wrote: oh, and BTW, CHRISTIAN ISN'T A PARADOX, HE IS A TASMANIAN!

                                  A Offline
                                  A Offline
                                  Alvaro Mendez
                                  wrote on last edited by
                                  #16

                                  Paul Watson wrote:

                                  Errs is perfectly acceptable IMO.

                                  If Errs is perfectly acceptable, then Errors would be perfect. Alvaro


                                  P 1 Reply Last reply
                                  0
                                  • A Alvaro Mendez

                                    Paul Watson wrote:

                                    Errs is perfectly acceptable IMO.

                                    If Errs is perfectly acceptable, then Errors would be perfect. Alvaro


                                    P Offline
                                    P Offline
                                    Paul Watson
                                    wrote on last edited by
                                    #17

                                    Err is a common abbreviation and Errs can be the plural of it. regards, Paul Watson Ireland Colib and ilikecameras. K(arl) wrote: oh, and BTW, CHRISTIAN ISN'T A PARADOX, HE IS A TASMANIAN!

                                    1 Reply Last reply
                                    0
                                    • J Johann van der Smut

                                      I decided to rewrite a colleague's code, since it was a steaming pile of dung. X| Imagine my horror when I found variables like FndsMovd, to denote the funds moved. He was too lazy to type an extra u and e? :wtf: Intc was intercept, Errs was Errors and regSusp was regional suspense. WTF? How on earth is somebody who's looking at the code for the first time to know what they mean? 4 years of experience. :sigh: If I ever find such people working for me... :mad: I suspect if confronted, he would say he used shorter variable names for efficiency. :suss: ~ Nazgûl

                                      R Offline
                                      R Offline
                                      Roger Alsing 0
                                      wrote on last edited by
                                      #18

                                      Bah, thats nothing compared to the old system we have here ;-) called "Raindance" from swedish "vm-data" all classes are named: cl001-cl999 and all modules (a'la vb6 modules) are named pr001-pr999 and to make it even more painful , cl001 can exist in different "nodes" so there might be 3 cl001 in different places :-) how'bout that? ;) X|

                                      A 1 Reply Last reply
                                      0
                                      • S Super Lloyd

                                        John Simmons / outlaw programmer wrote:

                                        Code quality is measured in many more important ways than "it works".

                                        So? . . . . . . . . Exemple: I worked with dyslexic, doesn't prevent them of being good coder with efficient and maintainable code. And I think the 2 above quality matter way more that variable naming.

                                        S Offline
                                        S Offline
                                        Shog9 0
                                        wrote on last edited by
                                        #19

                                        Super Lloyd wrote:

                                        I worked with dyslexic, doesn't prevent them of being good coder with efficient and maintainable code.

                                        So... what you're saying is... suffering from a neurologic disorder that makes it more difficult to interpret symbols, and the social disorder of being too damn lazy to type in vowels are essentially the same thing? Right. :|

                                        ---- Scripts i've known... CPhog 0.9.9 - make CP better. Forum Bookmark 0.2.1 - bookmark forum posts on Pensieve Print forum 0.1.2 - printer-friendly forums

                                        F 1 Reply Last reply
                                        0
                                        • J Johann van der Smut

                                          I decided to rewrite a colleague's code, since it was a steaming pile of dung. X| Imagine my horror when I found variables like FndsMovd, to denote the funds moved. He was too lazy to type an extra u and e? :wtf: Intc was intercept, Errs was Errors and regSusp was regional suspense. WTF? How on earth is somebody who's looking at the code for the first time to know what they mean? 4 years of experience. :sigh: If I ever find such people working for me... :mad: I suspect if confronted, he would say he used shorter variable names for efficiency. :suss: ~ Nazgûl

                                          T Offline
                                          T Offline
                                          Taka Muraoka
                                          wrote on last edited by
                                          #20

                                          Co-workers often get pissed off with me because I use extremely long and descriptive variable names. A quick sample from some code I'm working on now: isStandardDisabledSyncActions_AutoDetectInternetConn eSearchIndexUpdatesWindowType gLocalPortListenerStartNewChannelWizardMsg It's fine for me since I have a widescreen display and Visual Assist (motto: Intellisense that works) but it's a major PITA for people who don't ;P:laugh:


                                          The two most common elements in the universe are Hydrogen and stupidity. - Harlan Ellison Awasu 2.2 [^]: A free RSS/Atom feed reader with support for Code Project.

                                          F 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