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 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
                  • R Roger Alsing 0

                    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 Offline
                    A Offline
                    Anna Jayne Metcalfe
                    wrote on last edited by
                    #21

                    I feel X| X| X| just thinking about it...:wtf: Anna :rose: Currently working mostly on: Visual Lint :cool: Anna's Place | Tears and Laughter "Be yourself - not what others think you should be" - Marcia Graesch "Anna's just a sexy-looking lesbian tart" - A friend, trying to wind me up. It didn't work.

                    1 Reply Last reply
                    0
                    • S Shog9 0

                      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 Offline
                      F Offline
                      feline_dracoform
                      wrote on last edited by
                      #22

                      based on the spelling, and a few other things (like having taken a test or two) both I and our senior programmer where i work are somewhat dyslexic. this does not stop us producing and using sensible and clear variable names, or code. true sometimes they are spelt in creative ways, but i have yet to see a good example where they were unclear. the better spellers always know what the words are, you can tell, cos they complain about the spelling :mad: so i would agree, not bothering to use proper names is definetly a bad sign, and leaves me wondering what else you are going to find in there. zen is the art of being at one with the two'ness

                      S 1 Reply Last reply
                      0
                      • T Taka Muraoka

                        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 Offline
                        F Offline
                        feline_dracoform
                        wrote on last edited by
                        #23

                        we have a policy that means we end up with long class names, but most of the office do not use Visual Assist, apparently having to pay for it means they will not try the demo *rolls eyes* so while i have no problems with long and descriptive names, i watch them struggling on. how do they do it??? zen is the art of being at one with the two'ness

                        D 1 Reply Last reply
                        0
                        • F feline_dracoform

                          we have a policy that means we end up with long class names, but most of the office do not use Visual Assist, apparently having to pay for it means they will not try the demo *rolls eyes* so while i have no problems with long and descriptive names, i watch them struggling on. how do they do it??? zen is the art of being at one with the two'ness

                          D Offline
                          D Offline
                          Dan Neely
                          wrote on last edited by
                          #24

                          What's the point of trying a demo that's just going to time out if you don't payup. Seems like an exercise in selfabuse to me.

                          F 1 Reply Last reply
                          0
                          • F feline_dracoform

                            based on the spelling, and a few other things (like having taken a test or two) both I and our senior programmer where i work are somewhat dyslexic. this does not stop us producing and using sensible and clear variable names, or code. true sometimes they are spelt in creative ways, but i have yet to see a good example where they were unclear. the better spellers always know what the words are, you can tell, cos they complain about the spelling :mad: so i would agree, not bothering to use proper names is definetly a bad sign, and leaves me wondering what else you are going to find in there. zen is the art of being at one with the two'ness

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

                            feline_dracoform wrote:

                            so i would agree, not bothering to use proper names is definetly a bad sign, and leaves me wondering what else you are going to find in there.

                            Exactly. I want people that work to overcome innate shortcomings, not people that give into them.

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

                            1 Reply Last reply
                            0
                            • D Dan Neely

                              What's the point of trying a demo that's just going to time out if you don't payup. Seems like an exercise in selfabuse to me.

                              F Offline
                              F Offline
                              feline_dracoform
                              wrote on last edited by
                              #26

                              *um* to see if you like the program enough to pay for it? zen is the art of being at one with the two'ness

                              D 1 Reply Last reply
                              0
                              • F feline_dracoform

                                *um* to see if you like the program enough to pay for it? zen is the art of being at one with the two'ness

                                D Offline
                                D Offline
                                Dan Neely
                                wrote on last edited by
                                #27

                                If someone's already decided the pricetag's more than they're willing to pay for a helper app...

                                F 1 Reply Last reply
                                0
                                • D Dan Neely

                                  If someone's already decided the pricetag's more than they're willing to pay for a helper app...

                                  F Offline
                                  F Offline
                                  feline_dracoform
                                  wrote on last edited by
                                  #28

                                  i know. personally i figure the sensible approach is to try it, and ask work to pay for it if it is worth it, but there is no reasoning with some people *shrug* zen is the art of being at one with the two'ness

                                  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

                                    V Offline
                                    V Offline
                                    vikas amin
                                    wrote on last edited by
                                    #29

                                    I dont understand what type of efffeciency do short names provide he should be :sigh: Vikas Amin Embin Technology Bombay

                                    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