Ahhhrgghhhhhh! Naming Conventions That Suck
-
We have a txt naming dev here at the coalface. So I am plagued with method names like AddChild2Parent and KeepUp2Date Jeez! it's one flaming character you're saving yourself! it drives me 2 distraction!
.\\axxx
-
We have a txt naming dev here at the coalface. So I am plagued with method names like AddChild2Parent and KeepUp2Date Jeez! it's one flaming character you're saving yourself! it drives me 2 distraction!
.\\axxx
SockPuppeteer wrote:
So I am plagued
It seems to me that your emotions are plaguing you more. Come on, really? You actually are driven to distraction because of that? I can think of a heck of a lot worse things in code than the difference between "2" and "to." At least the names seem fairly descriptive! Marc
Reverse Engineering Legacy Applications
How To Think Like a Functional Programmer
My Blog
Computational Types in C# and F# -
SockPuppeteer wrote:
So I am plagued
It seems to me that your emotions are plaguing you more. Come on, really? You actually are driven to distraction because of that? I can think of a heck of a lot worse things in code than the difference between "2" and "to." At least the names seem fairly descriptive! Marc
Reverse Engineering Legacy Applications
How To Think Like a Functional Programmer
My Blog
Computational Types in C# and F#Marc Clifton wrote:
I can think of a heck of a lot worse things in code than the difference between "2" and "to."
In deed. I think I've ranted here before, but try reading code written by people whose use of the English language is limited... When an English-speaking person like myself try to read it you end up wanting to tear your hair out as you stumble through bad spellings, bad abbreviations, inappropriate use of vocabulary (hence the word becoming misleading and causing further confusion) and some words they just couldn't be bothered to look up the English equivalent for and left in their own language represented phonetically in alphabets. Also, it gets confusing for people that inherit masses of code when the original creator does things like: Foo() Foo1() Foo2() Foo3() or Bar() BarEx() and they don't just extend the original functions, but do something slightly more in a slightly different way. Oh the joys of programming! ;P
Almost, but not quite, entirely unlike... me...
-
Marc Clifton wrote:
I can think of a heck of a lot worse things in code than the difference between "2" and "to."
In deed. I think I've ranted here before, but try reading code written by people whose use of the English language is limited... When an English-speaking person like myself try to read it you end up wanting to tear your hair out as you stumble through bad spellings, bad abbreviations, inappropriate use of vocabulary (hence the word becoming misleading and causing further confusion) and some words they just couldn't be bothered to look up the English equivalent for and left in their own language represented phonetically in alphabets. Also, it gets confusing for people that inherit masses of code when the original creator does things like: Foo() Foo1() Foo2() Foo3() or Bar() BarEx() and they don't just extend the original functions, but do something slightly more in a slightly different way. Oh the joys of programming! ;P
Almost, but not quite, entirely unlike... me...
Just change the method's name, VS will refactor the code for ya, problem solved! :) It's a much more difficult problem with ginormous spaghetti code... :((
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.
-
We have a txt naming dev here at the coalface. So I am plagued with method names like AddChild2Parent and KeepUp2Date Jeez! it's one flaming character you're saving yourself! it drives me 2 distraction!
.\\axxx
Just change the method's name, VS will refactor the code for ya, problem solved! :-D It's a much more difficult problem with ginormous spaghetti code... :((
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.
-
Just change the method's name, VS will refactor the code for ya, problem solved! :-D It's a much more difficult problem with ginormous spaghetti code... :((
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.
Super Lloyd wrote:
Just change the method's name, VS will refactor the code for ya, problem solved!
Yes, the more recent versions of VS will do that for you... :|
Super Lloyd wrote:
It's a much more difficult problem with ginormous spaghetti code..
This kind of relates to the problem above. I also have this problem where a function can be as long as 1000 lines, perhaps more. Everything is so complicatedly intertwined that intellisence has long given up and a normal text search and a seasoned programmer's haunch are the only way to navigate through the mess... :~
Almost, but not quite, entirely unlike... me...
-
Just change the method's name, VS will refactor the code for ya, problem solved! :-D It's a much more difficult problem with ginormous spaghetti code... :((
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.
Your response forced me to look up the word 'ginormous' I was disappointed with the result as I was expecting something really different. Never heard this word before. Learn something new every day, even if it isn't ginormous or elephantine, at least it is something.
-
Super Lloyd wrote:
Just change the method's name, VS will refactor the code for ya, problem solved!
Yes, the more recent versions of VS will do that for you... :|
Super Lloyd wrote:
It's a much more difficult problem with ginormous spaghetti code..
This kind of relates to the problem above. I also have this problem where a function can be as long as 1000 lines, perhaps more. Everything is so complicatedly intertwined that intellisence has long given up and a normal text search and a seasoned programmer's haunch are the only way to navigate through the mess... :~
Almost, but not quite, entirely unlike... me...
PaulowniaK wrote:
Yes, the more recent versions of VS will do that for you...
The earliest versions of VB would do that for you, which shows that, far from being a defunct, horrible language, VB was actually ahead of its time, and all the programs that our children write will be written in VB. JSOP will be so happy and proud when his favourite language finally receives the recognition it deserves.
I wanna be a eunuchs developer! Pass me a bread knife!
-
We have a txt naming dev here at the coalface. So I am plagued with method names like AddChild2Parent and KeepUp2Date Jeez! it's one flaming character you're saving yourself! it drives me 2 distraction!
.\\axxx
If that's the worst problem you have I envy you.
People say nothing is impossible, but I do nothing every day.
-
Your response forced me to look up the word 'ginormous' I was disappointed with the result as I was expecting something really different. Never heard this word before. Learn something new every day, even if it isn't ginormous or elephantine, at least it is something.
It's a "fusion" (since that's the in word) of gigantic and enormous, and therefore a calculated and appropriate use of poor English for this thread, innit?
I wanna be a eunuchs developer! Pass me a bread knife!
-
We have a txt naming dev here at the coalface. So I am plagued with method names like AddChild2Parent and KeepUp2Date Jeez! it's one flaming character you're saving yourself! it drives me 2 distraction!
.\\axxx
Ax him ta fix it 4 u
I wanna be a eunuchs developer! Pass me a bread knife!
-
Your response forced me to look up the word 'ginormous' I was disappointed with the result as I was expecting something really different. Never heard this word before. Learn something new every day, even if it isn't ginormous or elephantine, at least it is something.
I mean humongous, my bad! :( you know, so gigantic it's preposterous!!!
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.
-
Ax him ta fix it 4 u
I wanna be a eunuchs developer! Pass me a bread knife!
exactly bro!! :laugh:
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.
-
We have a txt naming dev here at the coalface. So I am plagued with method names like AddChild2Parent and KeepUp2Date Jeez! it's one flaming character you're saving yourself! it drives me 2 distraction!
.\\axxx
-
It's a "fusion" (since that's the in word) of gigantic and enormous, and therefore a calculated and appropriate use of poor English for this thread, innit?
I wanna be a eunuchs developer! Pass me a bread knife!
Thanks Mark for the clarification. One would think that, someone with my intelligence, would have realised this immediately. I misread it and my brain mispronouced it and I got excited about a new word. I do like fusion words though. Your clarification has cleared the whole issue. ...and made me feel a bit dumb Thanks
-
I mean humongous, my bad! :( you know, so gigantic it's preposterous!!!
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.
-
Ax him ta fix it 4 u
I wanna be a eunuchs developer! Pass me a bread knife!
-
We have a txt naming dev here at the coalface. So I am plagued with method names like AddChild2Parent and KeepUp2Date Jeez! it's one flaming character you're saving yourself! it drives me 2 distraction!
.\\axxx
SockPuppeteer wrote:
Ahhhrgghhhhhh
That sounds like a good variable name.
WP7.5 Apps - XKCD | Calvin | SMBC | Sound Meter | Speed Dial
-
Thanks Mark for the clarification. One would think that, someone with my intelligence, would have realised this immediately. I misread it and my brain mispronouced it and I got excited about a new word. I do like fusion words though. Your clarification has cleared the whole issue. ...and made me feel a bit dumb Thanks
Guys, there is a proper name for 'fusion words'. Ginormous is a portmanteau.
-
Mark Wallace wrote:
Ax him ta fix it 4 u
FTFY
"Bastards encourage idiots to use Oracle Forms, Web Forms, Access and a number of other dinky web publishing tolls.", Mycroft Holmes[^]