- 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
an, his uy s umb!
Admin
Seah!
Admin
et his e [NULL] esson o ll nterns.
Here's to some very confusing comments!
Admin
hird!
Admin
I love that dirty water! Oh Soston, you're my home!
Admin
RWTF s oldfusion
Admin
Strategic Incompetence at its best. He did say he didn't want to be labeled as a programmer. Not to worry.
Admin
hah, that last comment made a surprising amount of sense, even without the leading char.
Admin
Admin
I think this problem has at least two nuts.
Admin
I don't get it.
Admin
Does this bug also account for the numerous spelling errors in this WTF?
Admin
So, can someone explain where the problem came from in the first place? I assume it's an off-by-one issue with listGetAt, but not knowing the ins and outs of coldfusion, I could be wrong...
Admin
Ironic: attempting to fix the symptom instead of the cause, as here, is perhaps the classic indicator that the person has poor to non-existent problem-solving skills.
Admin
...the hell? Why didn't they make Stefan fix his shitty code? He's only going to go to the next job and pull the exact same crap. And then someone will have to rewrite everything or even worse, have to maintain his crap.
And who the hell takes on people who utter "I don’t want to be labeled as programmer for the rest of my life", even as interns?
Admin
He's not a real programmer, a real programmer will declare it fixed and any new bugs will be closed as "works on my computer".
Admin
Isn't this just a zero-indexing / one-indexing issue?
Admin
Isn't that how modern medicine works?
Admin
It could be worse. He could have tried to write his own parser for NOAA's web service.
Admin
Admin
Yep, but in most cases that's because fixing the root cause is impossible (think getting smokers to quit smoking and/or owerweight people to eat less, and even then in most cases retroactively 20 years ago.... :-)
Yours Yazeran.
Plan: To to to Mars one day with a hammer.
Admin
Dangit Jim, I'm a Doctor, not a Programmer!
Admin
It's fine for anyone to have an ambition other than writing code. Many of us would rather be managed by someone who'd been a coder earlier on in their career.
Stefan's problem (and this is a common WTF) was that he didn't see that short-term performance is the first step to achieving long-term goals.
Admin
Thank God that Scunthorpe wasn't one of the cities he needed to get the weather for!
Admin
<cfset weather = "S"&weather> made my head nearly explode since I was thinking in C++.
Admin
Looks like a couple of things.
Manually parsing XML, rather than using XPath.
Trying to create a delimited list with a multi-character delimiter.
Probably more, but after the first couple, got bored and stopped looking. :)
Admin
Admin
Why would a company waste time/$$ making him fix it? It costs money to have a regular dev sit there to baby sit and hand hold him to fix it which may take who knows how long. I doubt that this was a paid internship so they may/may not be an added cost for no reason if he's just getting booted anyhow. According to the story, the real fix only took 5 minutes. Money saved imo.
Admin
Why would a company waste time/$$ making him fix it? It costs money to have a regular dev sit there to baby sit and hand hold him to fix it which may take who knows how long. I doubt that this was a paid internship so they may/may not be an added cost for no reason if he's just getting booted anyhow. According to the story, the real fix only took 5 minutes. Money saved imo.
Admin
.. you mean promote him from a "Problem Solver" to a "Problem Resolver" ? __ /hg
Admin
In fact, sounds a lot like an old boss of mine.
Admin
Probably. Cold Fusion is horrible in many ways, but the most egregious to me is that all lists, arrays and other references always start at one rather than zero. Except for a few weird places where they don't.
Admin
Stefan is now your boss. Good luck!
Admin
I never wanted to be a programmer. I always wanted... to be LUMBERJACK! Leaping from tree to tree! The fir! The larch! The Scots pine!
Admin
Start spreading she sews, S'm seaving soday, S sant so se s sart sf st, Sew York, Sew York!
Admin
I have removed the first letter from your city's name. Pray I do not remove any more.
Admin
Stefan's broken approach was to continue trying to fix his idiotic design with code to handle individual test cases.
The company's correct approach was to ditch the self-proclaimed 'problem solver' who can't fix a problem that only existed because he's a terrible programmer!
Admin
hat us ever art f he eal!
Admin
Somebody explain to me why Jim allowed Stefan to publish untested, bug-riddled code to the production environment? Repeatedly?
Admin
Given that "it had been up and running for a while", it was probably not a critical application (probably not even publicy facing -- corporate intranet, perhaps) and not noticed by that many users.
Admin
This is coldfusion code? Who thought it would be a good idea to use XML tags for loop constructs?!
Admin
The story doesn't tell us how long "a while" is (a few minutes? Hours? Days? Weeks?) or in what environment (developmestuction?) and, as you say indirectly, whether it had actually been accessed at all before the issing irst etter roblem as oticed.
Admin
I was waiting for the punchline where you show us that the original problem was a trivial indexing issue that could have been corrected with a simple '+1' (or something similar). The story loses something without that payoff, instead we just have to assume it was a trivial issue and we don't get the pleasure of knowing exactly how much additional effort Stefan had to put in to produce his ridiculously over-engineered solution. Ah well, thanks anyway.
Oh, also, I like the way he doesn't want to be "labeled as a programmer" but is more than happy to be labeled as a raver, which is pretty much synonymous with "dribbling, brain-dead simpleton".
Admin
Ravers are TRN (The Real Nerds).
Sincerely, A Metalhead
Admin
Limiting the fix to the west was a good idea, after all, the only cities on the west coast are SEATTLE, SAN DIEGO, SAN FRANCISCO, and SOS ANGELES.
Stefan should have sent the SOS up earlier
Admin
This is actually something I never understood, as a CF array is just a wrapper around Java's ArrayList. To the point where you can directly call Java's ArrayList methods on a CF array. So why make this change?
CF is actually really great in a lot of ways. Right until you get to some glaring omission or inconsistency that reminds you that it was essentially designed by committee.
Admin
Could I interest you in the BobX programming language?
Admin
Oh, Stefan doesn't want to? Well Stefan is an intern. Stefan doesn't get a choice.
Admin
This is why I rely on osteopathy, because as a software analyst --not a vulgar programmer, mind you-- I know better than to just try and fix symptoms.
Admin
+1 For using a tr00 programming language.