- 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
a WTF like this would never have happened using Waterfall and SOA on an embedded filesystem environment. It simply couldn't.
TRWTF is people who use technology for the sake of technology rather than requirements.
Admin
Walk to coathanger.
Pick up coat.
Open door.
Walk out of door.
That is some pretty messed up software: if it's in that much of a state to start with there's not much point staying, it'll only get worse as more "features" are added.
Admin
Smells like a VB "programmer" that decided to start doing .NET.
Admin
iTunes is the archetypal example of tightly coupled software. You can't use one feature of it without having to pull in the entire thing.
And Excel is not a database.
Admin
Are you telling me that Visual Studio doesn't do page buffering? It's on the same technological level as Notepad?
Admin
After reading this, I actually thought to myself: "I would love to refactor that!"
Excuse me while I go throw up.
Admin
Sorry to disappoint you, Remy, but I have never even heard of a Joan Cusak.
Signed : One of the (hopefully more than two) female TDWTF readers.
Admin
Admin
Usually, nuking code from orbit and starting from scratch is not the right answer.
This is not one of those times.
CAPTCHA: populus - what this kind of code is, unfortunately.
Admin
staying on that project might gain you big bonuses
Admin
Waterfall has nothing to do with it. It's more like...if it was developed by a programmer who was worth his salt. This is simply a lack of first year college training...
Admin
Probably one of the most vicious WTFs ever listed. Developers that create such a mess should be put behind bars.
Admin
"and then started trying to get a grip on how to pry this pile of spaghetti apart and turn it into supportable code."
Add a noodle and jam it?
Admin
Admin
We take off and nuke the entire site from orbit. It's the only way to be sure.
Admin
Actually I would quite enjoy refactoring this code.
Admin
I really hate those management/HR types who use words like "rockstar" instead of "arrogant self-serving vodka-swilling loner who can't code his way out of a paper bag."
Admin
No doubt next the developer looks around for specs or documentation written but doesn't find any.
"Oh we're too busy here for specs and documentation... We run to tight schedules, and in the real world you don't have time to do things properly. Just look at the code and see what it does".
Admin
Me too. I love refactoring. It's amazing how bad old code can get.
Admin
If that's the way these new 'rockstar' developers write their code, then I'm rootin' for nuclear war and a chance for the cockroaches to strut their stuff...
Admin
:blink:
Admin
The Real WTF is that a comment accurately told the developer what to do to correct the problem. Sure the code is crappy from an aesthetic sense, but it gets the job done, and Dan is on to a new project. BTW I am not the Dan from the story.
Admin
Admin
Instead of shoving the quick one-line fix to production right away, this should've been approached with an actual planned project to redesign and refactor it. Yeah maybe still do the quick-fix to shut up the complaining users, but the long-term goal should have been a better, more permanent solution.
Admin
CRAP!
The "Rock Star" sits in the cubicle right next to me. I just finished "working" on two of his 25,000+ line C functions.
Admin
Instead of shoving the quick one-line fix to production right away, this should've been approached with an actual planned project to redesign and refactor it. Yeah maybe still do the quick-fix to shut up the complaining users, but the long-term goal should have been a better, more permanent solution.
Admin
Should be:
Admin
CAPTCHA 'causa' - I fixed it causa the limeys always complaining about "American" spelling
Admin
I think the point was that he did the quick fix to see if the problem was with the time-out, and the "fix" was treated as an actual resolution of the issue by the management, who thought that "it runs"=="it's done".
That's just my guess, though, based on reading all the way to the end.
Admin
Remy - John Cusack would be a better choice.
Signed: Female TDWTF reader #3
Admin
It's just the way software development has gone: immediate need has the priority over long-term maintainability. Nobody cares about 5 years time because you have to get the market share right now, and who knows whether you will still need the product anyway in 5 years time?
Probably explains why "agile" is the big buzzword of today in IT development, whereas "OO" was 10 years ago.
Admin
The timeout was raised from 21600 to 43200 in the example. Perhaps raising it it the final limit of 86400 would have been the best solution. If they run it once per day and it crashes with that timeout, then they WILL need to do some "refactoring".
Time will tell (in more ways than one!).
Admin
FTFY x 2
This is one of the cases where the 'zed' variant is standard British English. The 'ess' variant is rarely seen, although I believe it is acceptable on either side of the pond.
However, we limeys in Jolly Old England would take exception to the use of 'zee'.
Admin
Make that 82,800 to take care of the one day in the year that we lose an hour shifting to daylight savings time.
I think the developer thought that he'd have the whole thing "fixed" by the time they needed to raise it above 12 hours but subsequently was about to be taken off the job to work on something "proper".
Admin
Doesnt notepad actually refuse to open large files, redirecting you to whatever else there are in the way of editors/readers on the system?
Admin
Dear Remy, Don't ever change.
Your friend, Jane Cusack
Admin
I wish I could say that I haven't seen this kind of bull before. [1]Huge code base with zero documentation or comments but the deadline must be achieved in 4 hrs flat. Check. [2]No tests of any kind be they unit or integration tests. Check. [3] Technical Managers who lack the technical part and can't tell that the code is one massive clusterf#$@!!! Check. [4] Incompetent developers allowed to keep collecting a check even though they are NNPP's. Check.
Why why are these people allowed to stay gainfully employed??? Worse yet many of these schiesters are probably getting paid more than many of us. Truly sad...
Admin
Nope, not really, I once tried to open a 200 Mb txt file and it froze for good 20 minutes and ate up most of my RAM.
Admin
Did you actually read the story all the way through? Particularly these bits:
and:
So to summarize:
The only thing worse than a cowboy coder is a cowboy commenter.
Admin
Admin
It's always nice reading about something worse organized then the PHP applications I have to maintain that consist of a single include.php over 700 KB and over 17K lines and over 1K different functions, all calling each other in the nicest spaghetti style I've ever seen.
Admin
Hey, there's nothing wrong with Joan Cusack, as long as you like your women a touch on the mental side (and let's be honest, who doesn't?).
Admin
If Visual Studio and Notepad were still roughly on a par, Visual Studio would sometimes present the message: "This program is too mission-critical for VB to maintain. Would you like to convert it to C# instead?"
-Harrow.
Admin
Isn't that the definition of a rockstar?
CAPTCHA: similis - a lot like syphilis
Admin
That's way to long
1 - RUN,as far and as fast as possible.
Notice in the text the boss want him or other projects, which means more of the same
Admin
Admin
Admin
As in, it's beginning to look a lot like syphilis?
Admin
Admin
Great trick, that. "Haha! I've got you! Now my entire system has ground to ... waitaminnit ... can we try this again?"