SMS-speak in code (aka 'It had to happen')
-
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
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;
-
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
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
-
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
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!
-
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
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
-
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
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.
-
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
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 -
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.
Super Lloyd wrote:
So?
Lloyd, there's much more. :| Think of what I posted today as the trailer. ;P ~ Nazgûl +++++++++++++
-
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
-
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!
-
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!
-
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
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|
-
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.
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
-
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
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.
-
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|
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.
-
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
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
-
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.
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
-
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
-
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
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
-
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.
*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
-
*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