- 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
Nah, by asking for 20, next week he can ask for 40 (and the week after, 60).
Could have an office pool to bet on when the programmer finally cracks, plus a weekly pool on how many parameters he'll add that week!
appellatio: (adj.) something that is simultaneously apropos and appalling.
Admin
Admin
One thing that totally amazes me is the way Eclipse has managed to prevent you from sharing your project between users. Before I encountered it, if you had told me that it was possible to not be able to share projects (which simply amounts to setting a source and class path), would would not have believed you. Eclipse is everything that is wrong with Java, and its name even implies its darkness.
Who the hell designed the interface? A transformer? Why do I need different views for browsing, editing, and debugging? No other applications work like that.
My favorite thing that has been happening lately is that copy occasionally decides not to work either with the keyboard or the popup menu. I can CUT and paste, but I cannot COPY and paste. How can you freaking screw up one of the fundamental operations of text editing? You have to restart to get it to work right!
I'm mad as hell, but I guess I'm going to continue to take it because my company won't pony up the cash for anything better! Who was it that was in here talking about craftsmen and tools the other day?
Admin
Admin
TRWTF is that he committed this in one day. What was he thinking? "Oh, someone made a feature request for my useless utility library, better get busy!" He must be a robot, because no self-respecting human being would generate those 1000+ lines of unnecessary code IMMEDIATELY after a feature request.
Admin
Well, it's good to know that PHP isn't the only thing that Eclipse totally sucks at...
Admin
Someone should tell this coder that there is such a thing as working too hard.
Admin
Admin
Uhhh... My eclipse has none of those problems. Where did you get yours?
Okay I have one issue with eclipse: the preferences are stored per-workspace. So if I start a new workspace, then all my key mappings need to be reset, and I need to turn off the $%#@ spell checker again.
The Real WTF is spell checking your source code!!!
(The workaround is to create a blank default workspace, configure it, and copy that instead of using eclipse to create a new workspace).
Admin
Nope. I've never used it before. Doy!
Clearly you do understand hyperlinks, though.
Admin
Admin
The real WTF is that he put the commas on the left... who does that???
Admin
Admin
Admin
I must say, thank you Alex for posting this code in its entirety. Though omitting the bulk of it for brevity can be easier on the eyes, much is lost in the translation.
Presenting the monster in all its glory as you have done conveys so much more of the situation. I can almost see the immense void that takes residence in the head of its original programmer. I am in awe.
Admin
Admin
One thing that most of the suggestions (all of them?) leave out is the compile time checking that the number of parameters is a multiple of 3....
Admin
It kind of sucks at C++ too. Why the hell can't it compile single source code files without a mass project rebuild?
Admin
Admin
He probably wrote a script to generate the code automatically.
Admin
Admin
Admin
For the love of god and all that is holy can we please just get an:
// ed: snip
Admin
Admin
Admin
Admin
I agree. This is one of those things that you really need to see in full to believe.
Admin
TRWTF is that I can't reply 'coz something called 'Akismet' sez that I am spam. WTF?
Admin
Admin
The actual problem is that you are trying to post a completely legitimate comment. If you try to make your post sound a bit spammier Akismet will let it right through.
Admin
Akismet is an equal-opportunity WTF. It treats us registered riff-raff just as badly as you unregistered scum.
Admin
Admin
Admin
Admin
That can't be. Languages that were intented to be WTFs can't be TRWTF.
By the way, that is not relevant to today's story.
Admin
Admin
Commas on the left are a useful technique because then you can easily add lines without getting caught out with end effects.
CAPTCHA: "Consequat": as a result, he defecated.
Admin
How will they pay your wage?
Admin
Admin
I can hear the Zerg voice in the back of my head going:
SPAWN MORE OVERLOADS!
Admin
Admin
Admin
I have overloaded your setRecData. Pray that i don't overload it any further!
Admin
You see it all the time in SQL - it allows you to delete a line or comment a line in a big column list, without causing a syntax error...
select col1, col2,
col3 --you can't comment out this line from table
select col1 ,col2 ,col3 --now you can comment it without an error from table
Admin
Speaking of which, does anyone have recommendations for Python IDEs that are not Eclipse?
Admin
Admin
Of course Emacs is superior in every way, but that doesn't mean Eclipse is totally useless.
Admin
Uhh...
NetBeans? http://netbeans.org/downloads/
Although I entirely understand a company not wanting to pony up for free software.
But compared to Eclipse--Well there is no comparison.
Captcha iusto: Something you did in a past life.
Admin
I am using an ancient version of Eclipse and it has settings that will solve your every whine except the Copy/Paste. You could probably get better support answers by posting in a better location.
(Look at the Window, Preferences, Java, Code Style, Code Formatter, button:Edit..., tab:Line Wrapping, Default indentation for wrapped lines AND Default indentation for array.) (Import/Export preferences)(Autobuild off), etc.
Possible causes for the copy paste:
Admin
Originally, I had snipped it... but, as you mentioned, watching scrollbar size grow in your browser as the article downloads conveys exactly what it'd feel like when stumbling across. To me, the WTF wasn't so much the useless wrapping code, but the fact that the developer just kept going after 1000's of lines.