| « Prev | Page 1 | Page 2 | Page 3 | Next » |
|
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. |
|
1) Walk to coathanger.
2) Pick up coat. 3) Open door. 4) 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. |
|
Smells like a VB "programmer" that decided to start doing .NET.
|
|
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. |
|
Are you telling me that Visual Studio doesn't do page buffering? It's on the same technological level as Notepad?
|
|
After reading this, I actually thought to myself: "I would love to refactor that!"
Excuse me while I go throw up. |
|
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. |
Re: Large Blockage
2010-08-24 10:10
•
by
Borken
(unregistered)
|
Yeah, with Windows, you don't have to write a virus. You don't have to corrupt a driver. All you have to do is trick someone into opening a large file in Notepad, and your entire operating system grinds to a halt. |
|
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. |
|
staying on that project might gain you big bonuses
|
|
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...
|
|
Probably one of the most vicious WTFs ever listed. Developers that create such a mess should be put behind bars.
|
|
"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? |
No, I'm telling you that it has to parse the whole file to build the Intellisense database. |
Re: Large Blockage
2010-08-24 10:20
•
by
Cpl Hicks
(unregistered)
|
|
We take off and nuke the entire site from orbit. It's the only way to be sure.
|
|
Actually I would quite enjoy refactoring this code.
|
|
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."
|
|
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". |
Re: Large Blockage
2010-08-24 10:31
•
by
Spivonious
(unregistered)
|
Me too. I love refactoring. It's amazing how bad old code can get. |
|
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...
|
:blink: |
|
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.
|
Especially if they used XML to make it more "enterprisey", and finished by putting it on a wooden table next to Irish Girl. |
Re: Large Blockage
2010-08-24 10:50
•
by
yeehaw
(unregistered)
|
Yeah but the real treat is that they apparently went from a "rock-star" to a "cowboy coder". 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. |
|
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. |
Re: Large Blockage
2010-08-24 10:51
•
by
yeehaw
(unregistered)
|
Yeah but the real treat is that they apparently went from a "rock-star" to a "cowboy coder". 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. |
Should be:
|
FTFY, for the benefit of our readers in Jolly Old England CAPTCHA 'causa' - I fixed it causa the limeys always complaining about "American" spelling |
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. |
Remy - John Cusack would be a better choice. Signed: Female TDWTF reader #3 |
|
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. |
|
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!). |
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'. |
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". |
Re: Large Blockage
2010-08-24 11:16
•
by
Swedish tard
(unregistered)
|
Doesnt notepad actually refuse to open large files, redirecting you to whatever else there are in the way of editors/readers on the system? |
|
Dear Remy,
Don't ever change. Your friend, Jane Cusack |
|
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... |
|
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.
|
Re: Large Blockage
2010-08-24 11:25
•
by
phleabo
(unregistered)
|
Did you actually read the story all the way through? Particularly these bits:
and:
So to summarize: 1) Dan checked in a quick patch 2) Dan started to refactor 3) Steve saw the checkin and promoted it to production 4) Steve asked Dan to move on to other things. The only thing worse than a cowboy coder is a cowboy commenter. |
|
|
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.
|
|
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?).
|
Re: Large Blockage
2010-08-24 11:42
•
by
Harrow
(unregistered)
|
Once upon a time, they were on the same technological level, but Notepad has advanced significantly since then. 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. |
Re: Large Blockage
2010-08-24 11:44
•
by
Mr. S.
(unregistered)
|
Isn't that the definition of a rockstar? CAPTCHA: similis - a lot like syphilis |
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 |
I think it was back in the Windows 9x days when notepad was limited to 64KB text files. Their "fix" created a new problem. |
Re: Large Blockage
2010-08-24 11:50
•
by
Anonymous
(unregistered)
|
Oh, I've seen that. Clippy pops up and starts hurling abuse about how only 14 year olds use VB and if you don't upgrade he's going to cut you. I'll tell you, that paperclip has gotten a serious attitude problem since those fateful days working as the Word mascott. |
As in, it's beginning to look a lot like syphilis? |
Re: Large Blockage
2010-08-24 11:52
•
by
Anonymous
(unregistered)
|
I've opened multi-GB files in Notepad. Don't ask me why, but I have and it works. Like most MS products, you just have to give it time. |
Great trick, that. "Haha! I've got you! Now my entire system has ground to ... waitaminnit ... can we try this again?" |
| « Prev | Page 1 | Page 2 | Page 3 | Next » |