- 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
Question: Who the fuck doesn't already know that? Anyone?
Admin
Alright, alright, I'll give you "gooey" and "earl" but I'm sticking with the others! HAHA
Admin
The worst is 'scuba'. It's "I'm going S-C-U-B-A diving" people.
Admin
Are we having a contest here to see who can be the rudest about the most trivial thing? I think the "acronyms that sound stupid" guy is winning but this is pretty good too.
Admin
Are we having a contest here to see who can be the rudest about the most trivial thing? I think the "acronyms that sound stupid" guy is winning but this is pretty good too.
Admin
C Hash. C Hash smoke. Smoke Hash smoke!
Admin
Go weep softly somewhere else. You're making me uncomfortable.
Admin
No, the worst is that Java book by the name of "Java POOP" (Principles of Object-Oriented Programming). Had to have been 5-7 years ago.
Admin
I have to disagree; that's the best.
Admin
One of my pet peeves is when my fellow members refer to us as Nambla, it's an acronym people, not a word! N-A-M-B-L-A !
I guess the rule of thumb would be if the acronym makes a word pronounce it that way (PERL, COM, etc. vs XML, ATL, HTML, etc which can't really be pronounced). SQL falls somewhere in the middle. And does anyone really pronounce ASP as asp (like the snake)?
CPAN,
Admin
Teh Winnar!!!
Admin
Or you could just call it "C Sharp", which is its name.
Admin
I would prefer to remain anonymous too.
Admin
Congratulation, you just landed an E- at your 'Spotting The Daily WTF memes' course, your mommy will be proud.
Admin
Man, I didn't realize that "gif" or "jaypeg" was such an obnoxious habit. I guess I'll have to get used to saying "Hey, Bob! Where did you store Some Image DOT GEE EYE EFF (DOT JAY PEE GEE)?"
[^o)]
Admin
google : +sql +sequel +history
one random quote from results:
By the end of the System/R project, IBM had implemented a language that supported System/R's multi-table queries and multiple-user access called the Structured English Query Language (SEQUEL). The name later was shortened to Structured Query Language (SQL). Today, we still pronounce the abbreviation as "sequel" because of these early roots.
Some older guys use that "sequel" form pretty often, just historical name ..
Admin
I agree. The posited WTF is that they were checking the version number in the code against the version number in the DB - isn't it better to know you're using an out of date version than to try to use one and then have it fail in strange ways?
P.S. If this thread is an example of the standard of discourse around here then you people might want to consider getting lives outside of the Internet. Having dick-swinging matches is ok, but when you're both wrong it's kind of funny.
P.P.S. On 'Ess-Que-El' vs. 'Sequel': The pronunciation of SQL has been officially declared as "ess kyoo ell" by ANSI.
Admin
So it DOES have a vowel. I hope Cthulhon is reading this.
Admin
Don't you mean A-N-S-I?
Admin
Nah, I mean A.N.S.I.
Admin
I call it "C Octothorpe" and my friends keep their distance.
Admin
If it's on Wikipedia well then it MUST be true.
Admin
The discussion is far more entertaining than the WTF at this point.
Admin
Enjoy the trees, let us know when you figure out you're lost in the forest.
Admin
This piece of code can be considered a jewel of brilliancy (sic!) comparing to the mental capacity of those trying to criticize it. It is obviously an internal application, so hardcoding username is somewhat justified, and definitely not a WTF. Besides, where is "checking a constant variable in the code against a version listed in the database"? WTF is "constant variable", anyway? The introduction to the code is more WTF than the code itself.
And most disturbing is the fact that nobody pointed out real WTF in this code. Which is <FONT face="Courier New">catch (Exception) { Show(Message) }. Because default exception handling should be performed in the default exception handler. There is no excuse for doing it manually in every method. Hejlsberg would probably scream during core review.</FONT>
Admin
Huh ?
Admin
Yes - which means that starting off the code with "if the code doesn't match the DB then bail out immediately" is a good thing. Yuri's "update the DB's version to match mine" is a WTF (there are far less error-prone ways to handle upgrades), and there might also be a WTF in the specific try/catch mechanism used to evaluate the main condition (I don't know nearly enough about this particular language to say).
To hell with that, "sequel" saves a syllable in an unambiguous fashion and will thus remain a de facto standard.
Admin
Indeed. The official line is there because there's already a SEQUEL(TM) in the same industry for a different thing... see the linked article.
Admin
Seconded. It is not obvious whether this is an internal application or not. And even if it is one, hardcoding the name of an individual rather than an organization is a mistake - or a parting "fuck you" when you do finally get canned, take your pick.
We use 'if user = "INITECH" then X' type code, but only when the situation calls for a rapid patch-test-debug cycle on a live system; that way, the other users are unaffected by the change until we're done testing it, at which point we remove the conditional. We also use a test database if the procedure changes any records in a non-trivial-to-undo fashion, in which case 'if db = "TEST" then X' would also work.
Admin
Well, there are conditional compilation operators for that purpose - even in .net languages.
Admin
ceepan,
ixemmel,
attel,
h-timmel,
sequel,
gooey,
urrel,
yooseh,
yea i can see how Sequel falls right between PERL and XML.
Admin
To be pedantic... it's only an acronym if it forms a word. Otherwise it's just an abbreviation (or an initialisation, if you prefer).
ac·ro·nym n. A word formed from the initial letters of a name
http://dictionary.reference.com/search?q=acronym
Admin
So, that happens if you get the captcha wrong first time, does it?
Admin
You know, it's kind of surprising that in this weird confluence of posters bitching about bad grammar and posters bitching about acronyms being pronounced as words, no one has seen fit to bring up that old grammar-police claim that an "acronym" is an initialism pronounced as a word.
Admin
This is in an interpreted language. What compilation? :)
Admin
No, something stereo-typical is twice as normal as something stereotypical (also, the former term is either more or less categorical than the latter, and vice versa, depending on the sense in which the word categorical is used). Or should that be NORML?
Admin
What? That's how I write all of my backdoors...
Admin
According to Websters:
Many commentators have objected to the comparison or modification (as by somewhat or very) of unique; the statement that a thing is either unique or it is not has often been repeated by them. Objections are based chiefly on the assumption that unique has but a single absolute sense, an assumption contradicted by information readily available in a dictionary.
Admin
I can't believe it, Jim. That girl's standing over there listening and you're telling him about our back doors?
Admin
People actually pronounce URL? I have never heard that done.
Admin
Is the name changed for this WTF?
If it isn't, there's an outside chance that he used to admin a message board I frequented... His name was Yuri, he was Ukrainian, and he was also a programmer working with Microsoft products.
He was stripped of his admin status and banned from the site for abusing his admin rights... So I don't think it'd be beyond him to delete all his code when he left.
If this branch of Initech is located in New York, then it's almost certainly him.
Admin
I couldn't realize you're giving real example.
And of course I've been referring to the Mad Coder's code which is in C-hash.
Admin
Not sure the isTure or isTrue function is enough to cover it...
public boolean isGod(String isName)
{
boolean red_pill = false;
boolean blue_pill = true;
if (isName == "Yuri" || isName == "yuri")
{
return blue_pill;
}
if (isName != "Yuri" && isName != "yuri")
{
return red_pill;
}
return false;
}
Admin
It doesn't, generally, make sense to talk about a language being interpreted or compiled (though it is a handy shorthand in cases where the shorthand doesn't matter- but this is not one of those cases). That distinction applies to implementations (and many implementations contain both interpreters and compilers). I don't know a whole lot about .NET languages, but aren't most of them byte-code compiled? There's no reason that you can't have conditional compilation in a byte-code compiled language- err, I mean implementation.
Admin
C£ ?
Admin
You should talk to a German-speaker then. We always pronounce URL (as "oordl", the 'd' being only hinted at as the result of the r-l connection).
Admin
I once worked with a backward hick from NH that did just that. "Dude, you got that 'earl'?" Incidentally, he was always strapped at work too (and I dont mean out of cash.)
Admin
Or the guy I'm working with who pronounces .aspx as "AS-PEX"...
Admin
How may times must I repeat it is not C-Sharp, it is D-Flat
Admin
Well, C# is at least compiled to MSIL/CIL as ".Net Assembly" which will then be interpreted on the fly to machine code by the CLR.
And I think that yes, most languages using the CLR have to be compiled to CIL.