Is it just me
-
Josh Smith wrote:
or does looking at really stupid code make you feel sick to your stomach, too?
I can see the white paper now.... The study of Neural Receivers and the observation of Redundant source code and its relationship to upset tummies.
_________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
Jeffry J. Brickley wrote:
The study of Neural Receivers and the observation of Redundant source code and its relationship to upset tummies.
hehehe. Yeah, the cure Tums with Refactoring.
:josh: My WPF Blog[^]
-
Jim Crafton wrote:
Oooh, ooh, post the code! Post the code!
I can't. I don't want to violate my NDA! :~ General gist:
class TextReederHelper
{
int i;
int ii = 72;
public TextReederHelper()
{
//ii = -12;
//ii = -12;
ii = -12;
}public int AddValuesIntegerlly( int i, int ii )
{
if( i < ii ) return i + ii;
return i + ii; }
}Holy Bunghole, I'm gonna heave! :wtf:
:josh: My WPF Blog[^]
That's just sad... I've seen the following: (verbatim quote from Java)
String s = new Object();
This was checked into source code as part of the individual's assigned programming work. Sadly there were more golden nuggets like this, but I always remembered this one. I believe part of his problem was that he spent WAY too much time day trading...
¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF!
-
That's just sad... I've seen the following: (verbatim quote from Java)
String s = new Object();
This was checked into source code as part of the individual's assigned programming work. Sadly there were more golden nuggets like this, but I always remembered this one. I believe part of his problem was that he spent WAY too much time day trading...
¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF!
Jim Crafton wrote:
String s = new Object();
How the heck does that compile? Are you sure it wasn't:
String s = (String)new Object();
? Or did this student dare not attempt to compile? ;P
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Messianic Instrumentals (with audio) The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
-
Jeffry J. Brickley wrote:
The study of Neural Receivers and the observation of Redundant source code and its relationship to upset tummies.
hehehe. Yeah, the cure Tums with Refactoring.
:josh: My WPF Blog[^]
-
Jim Crafton wrote:
String s = new Object();
How the heck does that compile? Are you sure it wasn't:
String s = (String)new Object();
? Or did this student dare not attempt to compile? ;P
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Messianic Instrumentals (with audio) The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
No, this little gem was written by a Java "professional" consultant, working for an unnamed consulting firm (you'd probably recognize the firm), who was being billed out at around $180/hour to an unnamed client. It did in fact break the build, and I was less than thrilled to find it, since I was the project lead for that group and he was on my team. We exchanged words.
¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF!
-
or does looking at really stupid code make you feel sick to your stomach, too? X|
:josh: My WPF Blog[^]
I once saw a routine from a junior level programmer (though not to read the 14 degrees and certifications on his resume) that was a replacement for atoi() because he didn't realize it existed. What's even better is that the routine (a couple of screens long) had errors on almost every single line. Really. My only regret is not having printed it out so that I could frame it. No, looking at code like that doesn't make me sick. It makes me feel like an experienced programmer who should be charging more. :-D
Author of The Career Programmer and Unite the Tribes www.PracticalStrategyConsulting.com
-
No, this little gem was written by a Java "professional" consultant, working for an unnamed consulting firm (you'd probably recognize the firm), who was being billed out at around $180/hour to an unnamed client. It did in fact break the build, and I was less than thrilled to find it, since I was the project lead for that group and he was on my team. We exchanged words.
¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF!
Jim Crafton wrote:
No, this little gem was written by a Java "professional" consultant, working for an unnamed consulting firm (you'd probably recognize the firm), who was being billed out at around $180/hour to an unnamed client.
jeez that's cringingly bad. Wow.
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Messianic Instrumentals (with audio) The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
-
I once saw a routine from a junior level programmer (though not to read the 14 degrees and certifications on his resume) that was a replacement for atoi() because he didn't realize it existed. What's even better is that the routine (a couple of screens long) had errors on almost every single line. Really. My only regret is not having printed it out so that I could frame it. No, looking at code like that doesn't make me sick. It makes me feel like an experienced programmer who should be charging more. :-D
Author of The Career Programmer and Unite the Tribes www.PracticalStrategyConsulting.com
Christopher Duncan wrote:
No, looking at code like that doesn't make me sick. It makes me feel like an experienced programmer who should be charging more.
Lucky dog. If I ever were to work in a shop with the programmer you described, I'd need to keep a barf bag fastened to my face all day.
:josh: My WPF Blog[^]
-
I once saw a routine from a junior level programmer (though not to read the 14 degrees and certifications on his resume) that was a replacement for atoi() because he didn't realize it existed. What's even better is that the routine (a couple of screens long) had errors on almost every single line. Really. My only regret is not having printed it out so that I could frame it. No, looking at code like that doesn't make me sick. It makes me feel like an experienced programmer who should be charging more. :-D
Author of The Career Programmer and Unite the Tribes www.PracticalStrategyConsulting.com
Christopher Duncan wrote:
atoi()
How do other people pronounce that? Right or wrong, I've gotten used to saying something along the lines of "a-toy" rather than "a-to-i" over the years. I must admit I've gotten some odd looks before. :laugh:
Jeremy Falcon
-
No, this little gem was written by a Java "professional" consultant, working for an unnamed consulting firm (you'd probably recognize the firm), who was being billed out at around $180/hour to an unnamed client. It did in fact break the build, and I was less than thrilled to find it, since I was the project lead for that group and he was on my team. We exchanged words.
¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF!
Jim Crafton wrote:
No, this little gem was written by a Java "professional" consultant, working for an unnamed consulting firm (you'd probably recognize the firm), who was being billed out at around $180/hour to an unnamed client.
Because usually the people that make those decisions are pay that much haven't a clue as to anything about programming. It's how they present themselves that matter, not whether or not they are actually good at programming. Sad really.
Jeremy Falcon
-
No really, it's only you. ;P
Jeremy Falcon
-
Christopher Duncan wrote:
atoi()
How do other people pronounce that? Right or wrong, I've gotten used to saying something along the lines of "a-toy" rather than "a-to-i" over the years. I must admit I've gotten some odd looks before. :laugh:
Jeremy Falcon
Jeremy Falcon wrote:
How do other people pronounce that?
Ah-too-y - like a non-productive sneeze.
---- Scripts i’ve known... CPhog 1.8.2 - make CP better. Forum Bookmark 0.2.5 - bookmark forum posts on Pensieve Print forum 0.1.2 - printer-friendly forums Expand all 1.0 - Expand all messages In-place Delete 1.0 - AJAX-style post delete Syntax 0.1 - Syntax highlighting for code blocks in the forums
-
Jeremy Falcon wrote:
How do other people pronounce that?
Ah-too-y - like a non-productive sneeze.
---- Scripts i’ve known... CPhog 1.8.2 - make CP better. Forum Bookmark 0.2.5 - bookmark forum posts on Pensieve Print forum 0.1.2 - printer-friendly forums Expand all 1.0 - Expand all messages In-place Delete 1.0 - AJAX-style post delete Syntax 0.1 - Syntax highlighting for code blocks in the forums
Shog9 wrote:
like a non-productive sneeze.
:laugh:
Jeremy Falcon
-
or does looking at really stupid code make you feel sick to your stomach, too? X|
:josh: My WPF Blog[^]
Only when i think i'll be needing to make changes to it. Funny, i was just talking to a co-worker about this very subject earlier. A few years back, we came close to absorbing the care and feeding of a product we'd obtained along with the small company that created it. Too many VB files to count, each one a form, each form stuffed with all the DB access code (including hard-coded IDs, indexes, and actual data) required to make it work. Scary, ugly, sickening stuff.
---- Scripts i’ve known... CPhog 1.8.2 - make CP better. Forum Bookmark 0.2.5 - bookmark forum posts on Pensieve Print forum 0.1.2 - printer-friendly forums Expand all 1.0 - Expand all messages In-place Delete 1.0 - AJAX-style post delete Syntax 0.1 - Syntax highlighting for code blocks in the forums
-
I once saw a routine from a junior level programmer (though not to read the 14 degrees and certifications on his resume) that was a replacement for atoi() because he didn't realize it existed. What's even better is that the routine (a couple of screens long) had errors on almost every single line. Really. My only regret is not having printed it out so that I could frame it. No, looking at code like that doesn't make me sick. It makes me feel like an experienced programmer who should be charging more. :-D
Author of The Career Programmer and Unite the Tribes www.PracticalStrategyConsulting.com
Christopher Duncan wrote:
It makes me feel like an experienced programmer who should be charging more.
Spoken like a true consultant! :) When I started at the consulting firm I used to work at, my project boss walked up to me, took my hand in a hearty handshake, and said, with a big shit-eating-grin on his face, "Welcome to the worlds second oldest profession." I always thought that was funny :)
¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF!
-
Only when i think i'll be needing to make changes to it. Funny, i was just talking to a co-worker about this very subject earlier. A few years back, we came close to absorbing the care and feeding of a product we'd obtained along with the small company that created it. Too many VB files to count, each one a form, each form stuffed with all the DB access code (including hard-coded IDs, indexes, and actual data) required to make it work. Scary, ugly, sickening stuff.
---- Scripts i’ve known... CPhog 1.8.2 - make CP better. Forum Bookmark 0.2.5 - bookmark forum posts on Pensieve Print forum 0.1.2 - printer-friendly forums Expand all 1.0 - Expand all messages In-place Delete 1.0 - AJAX-style post delete Syntax 0.1 - Syntax highlighting for code blocks in the forums
Shog9 wrote:
including hard-coded IDs, indexes, and actual data
Have you regained your ability to see yet?
:josh: My WPF Blog[^]
-
Shog9 wrote:
including hard-coded IDs, indexes, and actual data
Have you regained your ability to see yet?
:josh: My WPF Blog[^]
It got worse, but i've blocked those memories. :~
---- Scripts i’ve known... CPhog 1.8.2 - make CP better. Forum Bookmark 0.2.5 - bookmark forum posts on Pensieve Print forum 0.1.2 - printer-friendly forums Expand all 1.0 - Expand all messages In-place Delete 1.0 - AJAX-style post delete Syntax 0.1 - Syntax highlighting for code blocks in the forums
-
No really, it's only you. ;P
Jeremy Falcon
-
Christopher Duncan wrote:
atoi()
How do other people pronounce that? Right or wrong, I've gotten used to saying something along the lines of "a-toy" rather than "a-to-i" over the years. I must admit I've gotten some odd looks before. :laugh:
Jeremy Falcon
-
It got worse, but i've blocked those memories. :~
---- Scripts i’ve known... CPhog 1.8.2 - make CP better. Forum Bookmark 0.2.5 - bookmark forum posts on Pensieve Print forum 0.1.2 - printer-friendly forums Expand all 1.0 - Expand all messages In-place Delete 1.0 - AJAX-style post delete Syntax 0.1 - Syntax highlighting for code blocks in the forums
Shog9 wrote:
It got worse, but i've blocked those memories.
You can run but you can't hide. Those hard-coded IDs will haunt your dreams, like Freddy Kruger, only worse, cuz they won't kill you. Muahahaha!
/--------------------------------\\
:zzz: <--| 0D6F858ECC6E6D43A3789F5CDA300AD7|
\--------------------------------/:josh: My WPF Blog[^]