- 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
Admin
Har, this is a WTF entry in itself. Such sh**ty coding Crash Marnet
Admin
I'm not able to belief that. I've seen my share of C&P code but this is beyond everything I've seen before....
Admin
Poor Luis. Absolutely right but totally wrong all at the same time.
We care about a few cycles lost to a repetitive conditional check? Really? Oh no .. so scary. If you did the decompose conditional refactoring it would make it easier to read, and that's probably the best piece of advice.
The system also appears like it doesn't have a good test suite. I've worked on lots of code like that where dev's are worried about fixing odd conditionals because you don't want to break anything. A nightmare butterfly effect.
Oh well, at least your chest-thumping made you feel good for a while.
manana
Admin
Clearly should have used a ternary expression.
Admin
Hate to tell you this, frits, but... you're doing it wrong.
Admin
TRWTF is that as soon as Germans are mentioned, certain people feel an overwhelming urge to shout something about Nazis... sigh
Admin
Butt it feels oh so right.
Admin
You're right. Table prefixes on fields are unnecessary... unless you: a) have more than 4 tables in your system. b) Need to use fancy stuff like "joins" and "views".
Admin
This troll is only right in the fact tha Office is shit, but Open "Ripoff" Office is cube shit.
OpenOffice CreateMoreShit () { return System.Math.Pow(Microsoft.Office, 3); }
Captch Damnum, damnum you.
Admin
This troll is only right in the fact tha Office is shit, but Open "Ripoff" Office is cube shit.
OpenOffice CreateMoreShit () { return System.Math.Pow(Microsoft.Office, 3); }
Captch Damnum, damnum you.
Admin
No, headless operation system dont have text mode, you use the register switchs in front panel of computer to syscall the kernel using interrupt directly in the cpu. keyboard is for linux kids.
Admin
Here in brazil we pay 60% in every product we buy. The producer pay for it when they sell, and the transporter pay twice, then the reseller pay something called tributary substitution, then you pay only 18%. But you pay 25% of your salary in income tax if you make more than 2k. But you have to remember that some products will be selled without fiscal document and will not pay the tax. for 10 product sold, only 2 or 3 pay tax. Its only by this that economic can run without colapse by governement taxes.
Admin
Admin
Last week I sent this code to my cooworkers and we had quite the laugh. Today I found out that I'm working in the same department and company. Still funny though.
thanks for the beer!
Admin
please, PLEASE don't tell me this is used in ELSTER?
Admin
He was probably thinking of Firefox.
Admin
This piece of code seems to be related to german tax reporting, namely building the dataset submitted to the revenue office using the ELSTER protocol. So this code is tied closely to german tax laws, so it makes sense to name the variables the very same they are called in the law's text. All those variable names you can find in the german tax law.
Admin
Yes, but the repeated parses and duplicate logic generate a lot of line-noise that makes it very tedious to verify that the code does actually comply with the relevant legislation. Still, to call this a WTF is devaluing the word into meaninglessness.
Admin
I wish you luck in attaining that, as when it comes to satisfaction, I for one can get none.
Whether driving in my car, or when watching TV, or indeed even when riding round the world.
It certainly isn't a lack of initiative on my part, for I try and I try and I try and I try. Despite that, it remains the case that I cannot gain satisfaction...
Admin
TRWTF is that you just said "sequel" statements. You fail at criticism.