Is it just me
-
Josh Smith wrote:
Why me?
Um... um... It's your hair man. I don't why, it just is. :-D
Jeremy Falcon
-
Josh Smith wrote:
Why me?
Um... um... It's your hair man. I don't why, it just is. :-D
Jeremy Falcon
Jeremy Falcon wrote:
Um... um... It's your hair man. I don't why, it just is.
That sounds deep, or something. :laugh:
:josh: My WPF Blog[^]
-
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[^]
:laugh:
---- 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
-
or does looking at really stupid code make you feel sick to your stomach, too? X|
:josh: My WPF Blog[^]
Six years back I designed some COM interfaces that provided access to my application, I optimized them based on how I thought they will improve the network performance rather than on how obvious they will be to use. Now when I look back at them they are extremely inconsistent and unfortunately I cannot change them now. Looking at several things I designed or developed in past, I think I have lost the right to complain to other people that their code is bad.:( For Example, I coded a entirely new vector, a new map, a hashtable class , a new serialization mechanism because I did not like the the existing STL classes (in my defense they were buggy in VS6) I thought did not perform better and I did not want to use MFC in my applications. Although I will not say that the code itself was bad for the classes I wrote but at the same time I should have started with the existing classes first and then wrote a complete application instead of starting with a new framework for everything. And I believe that 5 years from now when I will look at the code which I am writing now, I will not be thrilled.
-
Six years back I designed some COM interfaces that provided access to my application, I optimized them based on how I thought they will improve the network performance rather than on how obvious they will be to use. Now when I look back at them they are extremely inconsistent and unfortunately I cannot change them now. Looking at several things I designed or developed in past, I think I have lost the right to complain to other people that their code is bad.:( For Example, I coded a entirely new vector, a new map, a hashtable class , a new serialization mechanism because I did not like the the existing STL classes (in my defense they were buggy in VS6) I thought did not perform better and I did not want to use MFC in my applications. Although I will not say that the code itself was bad for the classes I wrote but at the same time I should have started with the existing classes first and then wrote a complete application instead of starting with a new framework for everything. And I believe that 5 years from now when I will look at the code which I am writing now, I will not be thrilled.
Yeah, but I'm not talking about "philosophical impurity." I mean, nasty, ugly, stupid code that makes no damn sense at all. Somewhere in this thread I posted an example of the garbage I'm talking about. :-D
: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
-
or does looking at really stupid code make you feel sick to your stomach, too? X|
:josh: My WPF Blog[^]
Josh Smith wrote:
or does looking at really stupid code make you feel sick to your stomach, too?
Me too. And I've been looking at some real technicolor yawners of bad code lately too. Marc
Some people believe what the bible says. Literally. At least [with Wikipedia] you have the chance to correct the wiki -- Jörgen Sigvardsson
People are just notoriously impossible. --DavidCrow
There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer -
David Kentley wrote:
"A-twa"
I can kinda see that considering "moí" is pronounced similar. Still, I'm sure I wasn't the only one getting funny looks. ;)
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
I pronounce the "a" and "i" in Romanian and the "to" in english. Sort of a Romglish.:) So, the "a" sounds like the one in "sofa" and the "i" like the one in "bill"
regards, Mircea Many people spend their life going to sleep when they’re not sleepy and waking up while they still are.
-
Josh Smith wrote:
or does looking at really stupid code make you feel sick to your stomach, too?
Me too. And I've been looking at some real technicolor yawners of bad code lately too. Marc
Some people believe what the bible says. Literally. At least [with Wikipedia] you have the chance to correct the wiki -- Jörgen Sigvardsson
People are just notoriously impossible. --DavidCrow
There's NO excuse for not commenting your code. -- John Simmons / outlaw programmerOh, but we consultants have a special place in our hearts for employees that insist they know better, then code gems like this. I did not want to leave out the other side of the coin - when you are constantly cleaning up gems like this.... hmmm, maybe I should change my sig
Charlie Gilley Will program for food... Whoever said children were cheaper by the dozen... lied. My son's PDA is an M249 SAW. My other son commutes in an M1A2 Abrams
-
or does looking at really stupid code make you feel sick to your stomach, too? X|
:josh: My WPF Blog[^]
Actually, if you are a consultant, then this poster will truly be meaningful: Consulting enjoy. And if you want lot's of hoots, check out all of the posters....
Charlie Gilley Will program for food... Whoever said children were cheaper by the dozen... lied. My son's PDA is an M249 SAW. My other son commutes in an M1A2 Abrams
-
Actually, if you are a consultant, then this poster will truly be meaningful: Consulting enjoy. And if you want lot's of hoots, check out all of the posters....
Charlie Gilley Will program for food... Whoever said children were cheaper by the dozen... lied. My son's PDA is an M249 SAW. My other son commutes in an M1A2 Abrams
That's nice. I am going to present it to my friends.:)
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -Brian Kernighan
-
Actually, if you are a consultant, then this poster will truly be meaningful: Consulting enjoy. And if you want lot's of hoots, check out all of the posters....
Charlie Gilley Will program for food... Whoever said children were cheaper by the dozen... lied. My son's PDA is an M249 SAW. My other son commutes in an M1A2 Abrams
charlieg wrote:
And if you want lot's of hoots, check out all of the posters....
:-D:-D:-D
Graham My signature is not black, just a very, very dark blue
-
or does looking at really stupid code make you feel sick to your stomach, too? X|
:josh: My WPF Blog[^]
-
or does looking at really stupid code make you feel sick to your stomach, too? X|
:josh: My WPF Blog[^]
There is a place for this you know! And not to ding you for posting code or anything but here![^] We did a brownbag here on refactoring code. They asked for samples so one of the folks brought in a sample from a section of code that was very hard to work with.
class User { string first; string middle; string last; object oMisc; ... several hundred oddly named methods. object getMisc(){...} setMisc(object o){...} ... several hundred other oddly named methods. }
This was java and nobody had a clue what the misc object was. They guy who wrote it was now his boss. Obviously the guy who brought in the code is now working elsewhere.ed ~"Watch your thoughts; they become your words. Watch your words they become your actions. Watch your actions; they become your habits. Watch your habits; they become your character. Watch your character; it becomes your destiny." -Frank Outlaw.
-
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
ah-too-eee
Silence is the voice of complicity. Strange women lying in ponds distributing swords is no basis for a system of government. -- monty python Might I suggest that the universe was always the size of the cosmos. It is just that at one point the cosmos was the size of a marble. -- Colin Angus Mackay
-
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:
a replacement for atoi() ... a couple of screens long
While it's stupid to reinvent something, one should at the very least try to do it with elegance and finesse. An atoi like function ought to be just a few lines long...
-- Not a substitute for human interaction
-
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
a-to-ee (Zweedish ;))
-- Nominated For Three Glemmys
-
Josh Smith wrote:
or does looking at really stupid code make you feel sick to your stomach, too?
Me too. And I've been looking at some real technicolor yawners of bad code lately too. Marc
Some people believe what the bible says. Literally. At least [with Wikipedia] you have the chance to correct the wiki -- Jörgen Sigvardsson
People are just notoriously impossible. --DavidCrow
There's NO excuse for not commenting your code. -- John Simmons / outlaw programmerMarc Clifton wrote:
Me too. And I've been looking at some real technicolor yawners of bad code lately too.
That's a damn shame. Sorry to hear it. My biggest fear about working with crappy code is that, given enough time, perhaps my brain will accept it and make sense out of it. That's a terrifying prospect, because I would have then sunk to the level of the crappy code. :~
:josh: My WPF Blog[^]
-
a-to-ee (Zweedish ;))
-- Nominated For Three Glemmys