- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
That is wrothy of vomit... I'm sorry for Ada, noone should be maintaining that piece of crap.
Admin
Better.... or worse?
At least he got an apology, which is more than most get!
captcha: onomatopeodiasaroaitis (you're kidding, right?)
Admin
Hey at least he apologized. I constantly stumble across some total useless bits of code i have to optimize or debug. Well at least it's easy to optimize something like that, let the nirvana deal with it.
Admin
Holy Mother of god!!!!!
He must have been paid by the character when he put that line of shite together.
I battle each day against my junior programmers doing things like that.
CAPTCHA: BLEEDING (Like my eyes are now)
Admin
It's one thing for our anonymous friends to tell us their captchas, but it's kinda weird when a registered user makes one up like that.
Admin
It's one thing when stupid first post comments get removed, but it's another when an on-topic post that refers to the article in question is. BTW, my post read (and I was first): lol!
Admin
Could that monster result from auto-generating some stuff and then cut-n-pasting it together?
Whoa, it looks uglier every time I look at it!
Admin
Admin
Usually these are just amusing in their idiocy, like someone driving along with their turn signal on.
This one makes me want to kill somebody, like someone swerving across three occupied lanes of traffic without slowing to hit their exit.
I have code rage. Grrarrr!
Admin
Where I come from (SE US), "He needed killing" used to be a valid defense. Somebody get a rope.
Admin
QFT. I can't believe people complain about their worthless and invariably unfunny posts getting deleted.
Admin
Yeah it's sloppy. Maybe I'm oversimplifying, but it seems very obvious to me what it is doing. Create a bunch of columns, then manipulate data in an array to add a row.
Spacing the insertrow helps quite a bit:
Admin
Admin
It's like magic numbers but a hundred times more eye bleeding.
Admin
It's not often that I literally shout out "what the fuck" when looking at these examples. But today was definately one of those.
Admin
I'm just amazed that somebody actually bothers to delete posts here...
Captcha: atari (wow. So it's not human, right?)
Admin
The REAL WTF is it took this guy a whole day to figure out one line of code. Granted it is a long line, but it's not that complicated.
Admin
Didn't we see this one a few months ago?
Admin
Mother told me to find something good in EVERYTHING. OK, let´s try this one...hmmm..... Yes, I got it. Good thing abou this is, THIS CAN?T GET ANY WORSE!
Admin
I like to put apologies and stuff in my comments when I know I coded something rather poorly. For example, in the program I'm coding now, I sorta broke the implied rules for .equals(Object o), wherein a=b, and b=a, but if a=c c may not equal b. I did it to make .indexOf() work a lot easier, rather than having to make my own search algorithm.
My comments:
//I kinda broke the rules for .equals(), sorry. //I did it to make the code a lot cleaner and easier to understand. so sue me.
Admin
Admin
WHAT THE FUCK!!!!!!!!!!
captcha: atari
Admin
I'm going to give Adam the BOTD. Perhaps he was trying to figure out what that line had to do with the rest of the code, not that the line itself was so complicated.
Admin
What do you want to bet that the guy who originally wrote this used to be a COBOL programmer? The obsession with inserting just the right amount of whitespace is the giveaway.
Granted, he may not have been a good COBOL programmer...
Admin
Jesus Howard Christ. That's just painful.
Admin
No, Howard is his dad...
Admin
Sweet Lord. That hurts.
Not that printing the data in columns hurts. It's that some poor bastard has to remember that element 11 carries monthly totals, while column 12 carries current page count, and element 2 carries the number of cars stopped at a stoplight.
Makes me want to cry.
And I don't have a captcha!
Admin
Oh! Man I think I broke something in mi jaw while reading the sorry note Captcha: craaazy, as the comments in code.
Admin
Yeah! You unlucky registered users without ramdom pieces of wisdom from the window that knows it all... I'm talking about the screen, not about Windows since I like better anything else, so I wasn't doing any publicity... YEAH! Ramdom Wisdom Rulez Baby!
Captcha: riaa baby!!! Read It Ala Americana!!
Admin
You have NO idea how much pain and suffering the stored procedure might have caused him while figuring out that one line.
If I had to diagnose that SP Call, I'd start by reading the SP. Given the self-obfuscating nature of this code, God only knows how ugly the SQL was.
Admin
Code like this reminds me of the old aphorism... "when your routine takes more than 10 parameters, you obviously forgot some".
Admin
Yeah, I'm very sorry too, lol.
Admin
(emphasis added)
Adding "lol" after an apology has a way of making the entire apology sound somewhat less than sincere. In fact, it makes it sound kind of like: "Yeah, I'm so sorry for you, and so sympathetic, that I... umm... can't stop laughing at you, even as I try to claim that I'm sorry! Ha ha ha!"
I agree with the poster who mentioned the "he needed killing" defense. This would have been kinder without the so-called "apology".
Admin
// FYI
Admin
It takes a certain genius to get a compiler to throw hundreds of errors. When I write malfunctioning code it'll throw a couple and refuse to continue, and are subsequently easy to fix because they're as obvious to me as they are to the compiler. Hundreds of errors means there are hundreds of things just a little off, rather than hundreds of blatant typos. the real wtf=captcha=riaa
Admin
that looks just like my code :)
Admin
Code rage! I love it!
Admin
Don't ever, EVER say that. I can always get worse. I mean, what happens when he opens the next file? Who knows what eldritch monstrosities lurk within? He said he had hundreds of compiler errors to work through... That line looks like it might compile ok...
Oh, and My Eyes! The Goggles Do Nothing!
Admin
Just in case anyone is wondering what "Hindenburgesque" could mean:
Paul von Hindenburg (born in 1847) was a Prussian, and later German, military officer and statesman. He preceded Adolf Hitler as the president of Germany until his death in 1934. Internationally, however, his name is probably best known for the Hindenburg disaster, whose indirect namesake he was.
Admin
It's not often that people literally use literally correctly. While literally does not actually mean actually, Jax means that (s)he most of the time would should out something like "god that's dumb" or "what a completely stupid mistake". This time, jax literally shouted "what the fuck", literally using the word correctly, as opposed to my use of commas.
capcha muhahahaha
Admin
AFAIK, "shout out" has only one meaning. (As a verb, that is; people also use it as a noun.)
Admin
You don't know what a false dichotomy is. Idiot.
Admin
Maybe he was apologizing for hard-coding the Arial font into a user interface.
Admin
Not necessarily, there is another situation where it makes sense to use "literally" and that is when reporting speech. For example, I can tell you that she said that she had never seen code so bad, but literally she said "This is the crappiest code I've ever seen!"
We know not just that Jax shouted out "what the fuck", we also know that those were his exacts words rather than "Worse Than Failure!" which is what we know Alex shouts when Grandma is around :)
I'm not even gonna tell you my CAPTCHA!
Admin
(and that can continue for a while)
Admin
Admin
Admin
Admin
Admin
Ohhh WOW! THANKS, thats perfectly clear now! I understand exactly. Before I thought it was just a bunch of Sp(x)'s now I see... I see that... its just a bunch of Sp(x)'s...
On another note, I don't understand the comment "completely useless." Does that mean the line of code can just be deleted? I don't have a clue what the code is doing, but surely it is at LEAST inserting a row.