what counts for bad code? finding its level...... [modified]
-
Clearly the decision to fully qualify the names was taken after the comment was written and possibly done automatically.
That would make sense. A very simple vowel search in the algorithm would have prevented it - but heigh ho, that's probably why I don't work for MS.
Dave
Generic BackgroundWorker - My latest article!
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Why are you using VB6? Do you hate yourself? (Christian Graus) -
How do u measure the level of bad code? A bad code is tough to understand or maintain...or one that doesnt work as intended.... or is made more personal by programmer..... How do u rate it as bad..... from 1 to 10 less severe to intense......?
Ravie Busie Coding is my birth-right and bugs are part of feature my code has!
modified on Tuesday, September 8, 2009 10:34 AM
-
See TWOTD just above this thread, search for 502. That's the difference between good and bad code!
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones
-
How do u measure the level of bad code? A bad code is tough to understand or maintain...or one that doesnt work as intended.... or is made more personal by programmer..... How do u rate it as bad..... from 1 to 10 less severe to intense......?
Ravie Busie Coding is my birth-right and bugs are part of feature my code has!
modified on Tuesday, September 8, 2009 10:34 AM
Ravi Sant wrote:
how do u rate it as bad..... from 1 to 10
Bad when:
Ravi Sant wrote:
bugs are part of feature my code has
Good When: Bugs are not feature and are not a part of the code.
-
How do u measure the level of bad code? A bad code is tough to understand or maintain...or one that doesnt work as intended.... or is made more personal by programmer..... How do u rate it as bad..... from 1 to 10 less severe to intense......?
Ravie Busie Coding is my birth-right and bugs are part of feature my code has!
modified on Tuesday, September 8, 2009 10:34 AM
Code is only bad if it needs to be touched after it's been written. And then, any code is bad. ;) Marc
I'm not overthinking the problem, I just felt like I needed a small, unimportant, uninteresting rant! - Martin Hart Turner
-
How do u measure the level of bad code? A bad code is tough to understand or maintain...or one that doesnt work as intended.... or is made more personal by programmer..... How do u rate it as bad..... from 1 to 10 less severe to intense......?
Ravie Busie Coding is my birth-right and bugs are part of feature my code has!
modified on Tuesday, September 8, 2009 10:34 AM
here you see :laugh: Cheers
You have the thought that modern physics just relay on assumptions, that somehow depends on a smile of a cat, which isn’t there.( Albert Einstein)
-
How do u measure the level of bad code? A bad code is tough to understand or maintain...or one that doesnt work as intended.... or is made more personal by programmer..... How do u rate it as bad..... from 1 to 10 less severe to intense......?
Ravie Busie Coding is my birth-right and bugs are part of feature my code has!
modified on Tuesday, September 8, 2009 10:34 AM
I wish I'd found this thread earlier. I'd have started a sweepstakes on the first person to mention braces.
I wanna be a eunuchs developer! Pass me a bread knife!
-
I wish I'd found this thread earlier. I'd have started a sweepstakes on the first person to mention braces.
I wanna be a eunuchs developer! Pass me a bread knife!
-
Dario Solera wrote:
code that contains grammar errors in comments.
I came across one of these the other day from MS in all the OnEvent methods in the BackgroundWorker (C# at least), for the e parameter: "An System.EventArgs that contains the event data."
Dave
Generic BackgroundWorker - My latest article!
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Why are you using VB6? Do you hate yourself? (Christian Graus)"System." is silent.
-
"System." is silent.
Ah... it all makes sense now. English - UK English - US English - MS :laugh:
Dave
Generic BackgroundWorker - My latest article!
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Why are you using VB6? Do you hate yourself? (Christian Graus)