- 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
They're Second Life names by the looks of it.
Admin
int comment, Comment, cOmment, coMment, comMent, commEnt, commeNt, commenT, COMMENT, COmment, COMment, COMMent, COMMEnt, COMMENt, CoMment, ComMent, CommEnt, CommeNt, CommenT, ......;
Admin
It's a great website and I sent quite a few contributions to the site back in the day. Unfortunately, it's become un-maintained. Frankly, I forgot that was one I submitted to them.
For the sake of completeness, I should probably mention another project with horrible naming. However, this one has some excuses.
The "program" is actually a suite of relatively simple programs (still buried in a sub-folder on the computer I'm using to write this) and written in C++ using Code Warrior so it targets both Windows and Mac OS/9. It was all originally created for the Apple back in the day, so it's absolutely no surprise that as it was maintained over the years it still had a lot of global variables like A1, B1, B2, etc.
Then add a later maintenance programmer fond of "descriptive" names and nestled among the A1 type names were GotThemByTheShortAndCurlies and MarkOfTheBeast666. As I recall, the MarkOfTheBeast666 held some kind of catastrophic error value.
Admin
Admin
Admin
Nigga Please
Admin
Admin
His rates would have to go "up, Up, UP!" After all, his maintenance effort is going up, Up, UP!
Admin
They did not have the internetz back then, so he obviously did not know that he should commit suicide.
Admin
Let me guess: GotThemByTheShortAndCurlies was set to TRUE just before displaying that message, "Program internal error encountered. Select OK to terminate without saving."
Right?
Admin
A better language would allow bolding, italics and subtly different fonts to obfuscate the code.
Personally, I have failed to grok in fullness the manifest benefits provided by case sensitive languages.
Admin
Well, for me it's isSomething as a variable ad IsSomething as a function that returns it :)
Admin
It seems to follow the "double negative" rule. "nazi" => "is a nazi" "nazi nazi" => "is against nazis" nazi**N and N is odd => "is a nazi"
Admin
What's a Nazi Nigger? A black person who wants to purify the country of whites?
Admin
Admin
You bunch of spastics.
Admin
Uppity may be racist, but the etymology is:
uppity Look up uppity at Dictionary.com 1880, from up + -ity; originally used by blacks of other blacks felt to be too self-assertive (first recorded use is in "Uncle Remus"). The parallel British variant uppish (1670s) originally meant "lavish;" the sense of "conceited, arrogant" being first recorded 1734.
Admin
Admin
If I may be so adventurous as to turn against the prevailing tide of this thread and mention the actual content of the opening post....
I once had the pleasure of working with a text editor that had apparently been designed by several groups who didn't often communicate with one another. One group had assumed the paradigm in which the text remained stationary and the user's viewpoint scrolled in front of it, while the other had decided that the window remained in place while the text scrolled behind it.
The result was that by repeatedly scrolling "up", you would eventually arrive at the "bottom" of the file.
Admin
All touch-screen devices and OS X Lion with a multi-touch trackpad, you mean?
Admin
Programmers who indulge their compulsions of misplaced "coolness" over actual usefulness need to be sent to another planet, preferably one without air. And that includes 99.44% of so called "web developers" who only know how to do client side code.
Admin
Actually, you can expand your range of variable names considerably by using the same core name, but using different numbers of leading and trailing underscores. The range can be further expanded by using all variations of upper and lower case letters in the name.
This is an example of a code cockroach. It is an indicator of trouble ahead. You never seem to have just one cockroach. When you see one of them, there are probably a whole lot more of them just waiting to be found.
Admin
already seen functions with about 10000 lines of code? that's my daily work. "it's historical grown" is what my boss keeps saying
Admin
... hysterical groan ...
Admin
They didn't. The doctor misspelled Argyle.
Admin
I can just picture the author using slightly different pronunciation to tell these apart.
Admin
Admin
using l33t speak can be effective to
Admin
It is interesting how a simple little WTF chuckle about needless combinations in code has in itself created needless comments about the code in question.
I guess this circular thinking is what makes the world go round.
Admin
Worse, some environments breed them.
Take a bunch of programmers, throw them into a proprietary environment sink or swim; with no mentoring, poor standards enforcement, and a code-cowboy culture...and you've never seen so many cockroaches.
Been there, seen it.
Admin
FRIENDLY BRUTAL FATAL ANIMALITY!!!
Admin
FRIENDLY BRUTAL FATAL ANIMALITY!!!
Admin
Admin
Admin
Admin
I increasingly get the impression that (at least) 90% of the kids here have never actually worked on real systems (maybe they're the web devs mentioned earlier, who knows). Then I realise it's really a much higher percentage....
Admin
It seems to me that this story is already posted elsewhere long before...
http://www.rinkworks.com/stupid/cs_programming.shtml
Admin
Hey, at least they're not using OoOOo... :P
Admin
You are probably right. Many of these maverick web programmers think it's so easy to manage REAL enterprise development. They don't know what it's like in the real world where there is little room for petty ideals.
Admin
my guess would be they're all professional golfers. based purely on that assumption, i've decided not to investigate further. do i win?
Admin
Came here to say this. This is obviously ripped off.
Admin
May as well note the _UP is reserved for the implementation for all purposes, having a leading underscore followed by a capital letter. As a nice simple word, an implementation is likely to use that identifier in one of its libraries, as it is perfectly entitled to do so.
Admin
That's somewhat my impression. The comment about the programmer not understanding function parameters starts making me think the original code was written for a microprocessor with very little RAM and or no stack. In those situations you end up with code like that. And often the person writing it isn't really an experienced programmer. Yet, crappy as it is, the code probably worked, shipped and made money. Which for me is the true test.
Admin
There is. It's called "Good Coding" but it's pretty expensive, so most use some cheap knockoff.
Admin
Uppity the fool...
Admin
God doesn't exist even if everyone remembers him.
Admin
Aargle Zymurgy. Sounds like an anagram.
Admin
It's really "a pity" to see how words become taboo because they were misused
Admin
Well this is unexpected... TRWTF in Java? Sure. TRWTF in C? Oh, no...
Admin
int up, Up, UP, uP, _up, UP, uP, up, uP; #define __UP up #define ___UP Up #define ____UP UP #define _____UP uP #define ______UP _up #define _______UP _UP #define ________UP _uP #define _____UP up #define MAX_FILESIZE uP
There, problem solved.