SMS-speak in code (aka 'It had to happen')
-
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
-
If someone's already decided the pricetag's more than they're willing to pay for a helper app...
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
-
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
I dont understand what type of efffeciency do short names provide he should be :sigh: Vikas Amin Embin Technology Bombay