- 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
What I really want to know is did Jake Vinson and company every complete the 'Fantasy VII Killer'? I want to play!
Admin
So, where's the WTF? Junior Programmer (albeit with an inflated title) thinks he has a better way to do something. He tries it out, initially thinks it'll be better than sliced bread, but then he actually tests it out and discovers that it sucks. So he doesn't bother to deploy it, and both he and his boss learn from the experience.
This is not a WTF. This is the kind of learning experience that every coder goes through as part of their development.
I seem to vaguely recall that Daily WTFs are supposed to omit "student" code (which, admittedly, this wasn't; the guy had a job), and instead be drawn from code that is actually deployed in production systems. Given the story, this code was never deployed.
Everyone writes some tragic mistakes on occasion, then wises up before checking them in to the repository. But if it ain't deployed, it shouldn't be a Daily WTF.
The biggest WTF I see here is that a kid fresh out of high school was given the job title "Senior Programmer". But if the inflated job title is the biggest problem in the story, then giving the story the title of "WTF" is a similar sort of inflation.
Admin
Ten bucks says he tried to parse HTML with Regular Expressions.
Admin
D'oh!
Admin
I guess The Real WTF here is that his program did nothing but managed to crash anyway. On the plus side, it did crash 100x faster than the regular parser!
OK...we're really skimming the bottom of the barrel here...
Admin
While I generally agree with the comments here about this not being a WTF, the REAL WTF in my opinion is the fact that people like Stephen get hired and are lauded as geniuses while people who are actually talented get passed over.
Seen it happen more than once.
Admin
It's filed under 'featured article' and not 'code sod', 'error'ed' etc.. So, yes I just see this as a story about someone’s early learning’s as software developer... If you don’t like reading featured articles, Alex’s Soap Box etc, I believe you can simply filter them out on the RSS feed.?
Admin
I liked this article. Not every WTF needs to be something that lets you laugh at someone else's mistakes. The fact of the matter is that Stephen learned a lesson that a lot of experienced programmers haven't: clever code isn't always good/better/correct code.
Admin
I've come to notice a trend on TDWTF...
My solution...
Brillant.
Admin
The lesson as usual. Don't re-invent the wheel.
You know, unless it really needs to be done.
Admin
The previous posters are missing the point of articles like this. These are meant to raise our hopes that there may be some sanity in this industry, other of course than this (ahem) collection of lone voices in the wilderness.
Think what happens when you then read one of the normal articles.
Everybody knows that the higher you throw something down from, the harder it hits bottom and the more it hurts....
Admin
Another solution.
Main Flow: 1.) An article, or "comic", is posted. 2.) People like articles and/or comics 3.) They read the article / comic
Alternate Flow, Occurs instead of step 2 1.) People don't like articles and / or comics 2.) They move on and read something else
Everyone is happy!
Admin
Riiiighhhht, if something is written in C it must be too slow compared to interpreted language like Perl. If you'd like to optimize something written by someone who knows what he's doing in C you'd have to rewrite it in assembler, no less.
Admin
pretty funny that he bench-tested the empty loop and went ahead and integrated without looking at the output!
Not a WTF, but more fun to read than complaining comments :-P
Admin
It wasn't that the C code was slow, it was the developer thought that he remembered someone saying something about calling C from Perl is slow. That was one of the WTFs; he assumed something was slow without actually testing it out or doing any research.
But you're right, the guy that wrote this HTMLParser thing was probably an expert on the subject and it's silly to think that you can top him by whipping something up in a few days.
Admin
TRWTF is the horrible black-on-dark-grey color scheme of the "Featured" comments. Second only to the WTF'ery of the Featured Comments system itself. I'm still not at all clear on what it's supposed to accomplish.
Admin
Admin
Admin
What is with everyone here trying to decide/define what this website is about.
"A WTF is this..", "That's not a WTF..." "These, AND ONLY THESE, are the conditions for a WTF...".
This site has a theme, although some people try to rate everything too stringently.
Here is a general guideline: Curious perversions in information technology. I know most of you missed that part. It was tucked away in the back of the website.
Here come comments on this comment: "That is not a 'real' comment because it didn't have x amount of characters and 2 sentences where too short and the font is wrong."
Admin
I think this article is a fine example of Perls before the (s)whine.
Admin
Are you sure it's that much of a dark background? You must be one of those guys who wears sunglasses indoors.
As for what the Featured Comments system is for, it's: A System for Featuring Comments. They probably should have thought of a better name like "Nitro Word Displayer".
Admin
In particular, reinventors of wheels tend to simplify pi to 3, and thus their wheels come out hexagonal -- pretty enough, but not very functional.
Admin
Aww. I love stories with happy endings.
Admin
Admin
Oh come on, who here at one time or another hasn't gotten 1000 lines into writing some brillant idea only to realize that there's another way to do it in only 30 LOC?
Admin
No no no, things eventually hit a terminal velocity of failure, they don't just keep accelerating as they fall!
Admin
You're right, it's not much of a WTF. When it comes to performance myths, this is standard operating procedure.
Admin
Some of us are too lazy to write 1000 LOC.
Admin
Or management makes you because their wheel has flashy rims and spinners designed by graphic artist that "The user 'will love!' because it's not 'old' and normal looking." Only till after building the wheel you find out you need to reinvent the bearing (from scratch) so your wheel will function almost as good as the standard metal functional wheel included in the wheel library, which by the way is easier to use and takes 30seconds to add to your code.
Admin
Some of us know if your writing 1000 LOC to do some function there is most generally a better way written by someone else that was much better and smarter than us. ;)
Admin
I will grant that it's less annoying than Mandatory Fun Day, but like MFD, it's something that DailyWTF would in no way be lessened by its absence.
Admin
At 10 bucks/hour, you get the title "Senior Developer".
At 20 bucks/hour, you're only a "programmer".
Do you want the raise, or do you want the title?
Admin
How bad do you want the money?
Admin
More on the FFVII tangent than the actual article, but this reminds me of the time my brother decided to code one of those "Choose your own adventure" books.
For whatever reason, he decided the most important part of the project was getting the book into the PC (this was early 80's, before cheap scanners and OCR), so he diligently started typing it out. All my questions of "How are you going to handle the fights?" and "How will you handle the inventory?" etc. fell on deaf ears. Needless to say, by the time he was done he'd lost all interest in actually making a game.
I guess that's why he's a financial manager and earns twice my salary now.
Admin
Actually, where I work, a system written in Assembler was replaced with one written in C. The one written in C was considerably faster, even with lot of features that is not used in that product.
Admin
At first I thought this article was about my book (http://www.amazon.com/Randal-Schwartzs-Perls-Wisdom-Schwartz/dp/1590593235)!
However, yes, anyone who avoids using HTML::Parser (or the HTML mode of XML::LibXML) to parse HTML some other way is just being foolish.
Admin
Yeah, WTF.
Lesson: don't ever take risks and don't try to learn anything new.
If people didn't try to reinvent the wheel, we'd still be stuck using bubble sort :)
Admin
I wish I had a penny for every time I'd seen something goofy being done because: "Oh, I remember hearing from a guy who took a class a few years ago whose professor told a story about a co-worker who said you can't do X."
(Yeah, we've all done it... But some of us stop doing that after a while.)
Admin
Of course, TRWTF is still that we're using a neolithic commenting system that doesn't allow, e.g., subscribing for responses.
Admin
as long as the post is
you won't hear any complaints from me.
however is this article a dupe? or did i read it in the sidebar a few weeks ago...?
Admin
At first I thought your response was a sneaky, shameless plug. However, it... wait a minute, it IS a sneaky, shameless plug! Nice try :-)
Admin
I saw this one before. Here we go: http://reddevnews.com/devscope/article.aspx?editorialsid=919.
Are we stealing stories now?
Admin
That should be tatoo'ed on the back of the hands of every new programmer.
Admin
I'm sorry, but I just don't believe that even the most junior programmer can possibly get to the stage of demo-ing code without realising that it doesn't work. And not in the way of 'has a few bugs that need looking at' doesn't work, or even 'has a major bug that makes it spaz out' doesn't work, but in the way of 'doesn't do anything' doesn't work.
TRWTF is that he tried to show it off before he checked whether it worked.
Admin
I don't think it's random. I remember reading somewhere that they are selected by someone.
Admin
If SpectateSwamp selected them, then they are truly random.
Admin
Admin
So what happened to the game?
Admin
Are you saying that Stephen isn't talented? Disagreed. It was extremely foolish of him to think that calling C functions via Perl is slow, but I think that should be excused for now, since the rest of his code seems to have worked well ...
Admin