JenLarkin feels
16 years ago
like this is the stupidest code I've ever seen. I know it's not true but it feels true right now.
latest #16
JenLarkin says
16 years ago
the stupidest code ever award is still retained by the guy who thought it wasn't a problem for the expected case of his math formula
JenLarkin says
16 years ago
is to divide by zero.
JenLarkin says
16 years ago
oh, and to not handle the exception when that explodes
立即下載
JenLarkin says
16 years ago
he claimed to have a Masters in Math from a university in India. Yeah, right.
JenLarkin says
16 years ago
anyway, this code is not quite that moronic but it is just so wrong that I can't look at it.
sounds like you're looking at something my co-worker wrote... His manages to work somehow though.
JenLarkin says
16 years ago
we have a table named AlertDisplayText
JenLarkin says
16 years ago
and the alert display text is being generated (complete with logic to determine whether to use "a" or "an")
JenLarkin says
16 years ago
even though all the code has to do is get by primary key!
JenLarkin says
16 years ago
this is weeks worth of work that doesn't scale to new alerts and it would have taken HALF AN HOUR to do it right
JenLarkin says
16 years ago
(angry)
knows that feeling well
JenLarkin says
16 years ago
some people should simply not be paid by the hour
Some people simply should not write code.
Dave MB
16 years ago
I probably shouldn't do either. But I love to see the looks on my co-worker's faces when they read my code. (tongue)
back to top