- 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
I chan't see the problem with that code.
Admin
Learn it, love it, laugh at others who do not no how to write it.
Admin
String.ToUpper? Anyone?
Admin
I am not expert in VB, but I do not see problem here.
Admin
Admin
Admin
This is the first time I've ever seen a program that's secure against evil chancellors.
Captcha thinks this should become a conventiono way of writing code.
Admin
And that's why outsourced code sucks.
Admin
Captcha thinks we should have split the difference back in the pre-Unicode days and used "acsi."
Admin
That's why your martyrchord. My company score many contracs outperforming your silly games.
Admin
Obvosly, the button was given a lable called "chancel", without rhym or reason, and its prolly too difficult to change teh common tpyo in the code.
Admin
So: No, Continue, Altar?
Admin
At least this would be easy to fix, right? Perhaps I'm being nave, but I think that code would be easy to altar.
Admin
Clear as chrystal, that code.
Or as we say, when it does the job perfectly, it "goes to church".
Admin
The medium is the message...
Admin
I think aisle agree.
Admin
"Chancel" is perfectly cromulent. The button by chance either cancels the operation or doesn't. Many applications have such a feature, but few dare name it correctly.
Admin
FTFY
Admin
Actually, most Cancel buttons don't work at all and are just there to give a calming sense of cancelability. In my experience, at least.
Admin
Um, it's pronounced khan' səl.
Admin
So they finally found the file in chancel and corrected the peviously seen “Yes”, “No”, “File not Found”.
Captcha: esse. Yes, I’m eating German food right now.
Admin
I guess the original coder thought there was no chancel that the typo would be caught?
Admin
Khaaaaaaaaaaaan!!! səl?
Admin
Yawn. I expect this shit from VB.
Admin
I'm interested in what Connector.Connection.PressItem() does. It looks like the code is performing some user action, which makes this a very Visual Basicy design indeed.
Admin
Admin
I've done far worse than kill you, I've hurt you. And I wish to go on hurting you. I shall leave you as you left me, as you left her. Marooned for all eternity, at the center of a dead planet. Buried alive.
Admin
I hate your chomments. It's a chommon mistake in chomputer chode. Get over it.
(my chaptcha is acsi too!)
Admin
At my office they hired a guy and his first job was to write tests for the shiny new testing framework I had made. Problem was he didn't really know 100% how many of our classes SHOULD act, so he wrote tests for how they WERE acting, even if the behavior was wrong (that was part of the reason we wanted tests, we knew there were going to be a lot of edge cases that were not working). A number of times I fixed a bug only to find multiple tests now failed, and I'd have to go in and look and find bad assumptions about how the class being tested worked. Other times it was just undefined scenarios that it assumed were defined.
Not the guy's fault totally; whoever is the most familiar with any particular class should have written the tests for it.
Admin
Admin
Point well-taken.
Admin
50% that guys fault for making assumptions which were probably quite clearly incorrect.
50% the previous devs fault for not documenting/commenting the code to make it clear what the intention/purpose was.
Admin
I thought perhaps Amy Winehouse wrote it.
Admin
"Chancel" nothing. My favorite so far is "Do you shure?" (where "Are you sure?" prompt was appropriate).
Admin
I'm glade you enjoyed it
Admin
I keep reading misericord.
Admin
I'm fairly certain the VB EULA precludes all of the following: = tests = automation [that is useful] = frameworks [that take less than 50MB]
Admin
This really turns the clock back for me. All the way back to 1966. Back to the days of my first bug. I remember it well. I proudly submitted my first Fortran program (on punched cards) to the UNIVAC-1108 operator, and discovered much to my surprise that 'PROCEDURE' is not spelled with two 'E's.
I have made many errors and generated many bugs since then, but I will always remember the first one. It has a special place in my heart.
Admin
At first glance, it looks like a logic bug. There appears to be a check for variations on spelling of the same word, but only a handful of cases are considered, inexplicably obvious other cases are ignored.
Upon reflection, however, I think I see this is not a WTF. It appears the developer wanted to allow SPECIFICALLY those variations of values, in anticipation of future functionality TBD - perhaps in later versions, buttons of the same word but different character cases might perform different actions.
Fx, "NO" could perform a different function than "No", but the programmer isn't sure what that will be in the future, so for the time being s/he's just assigning them to the same software state.
Admin
If you change your mind, I'm the first in line. Honey I'm still free, Why not chancel me?
Admin
There are an infinite number of monkeys typing on an infinite number of typewriters, and this thread is nothing like Shakespeare.
Admin
Admin
We had an application which, whenever anything went wrong (and it was fussy about the files it ate) used to issue the user message:
oh bugger
Admin
Aha! I get it! The real WTF is that "Continue" has two apostrophes in front of it when it really only needs one!
Excellent! I do believe I'm learning this programming malarkey!
Admin
This buttons were obviously for a church application.
No, I have nothing to confess.
Continue, I would like to confess through email.
Chancel, I would like to book an appointment to confess at a chancel.
Admin
+1
Admin
Reminds me of a conversation in Japan where the engineer kept telling me about the crutch. Took me a good 15 minutes before I realized he meant clutch.
Admin
Admin
What's up with the comment purge?
Admin
Ah, I found TRWTF. It should be kancel, instead of chancel.