Comment On adjYour adjDaily nCup prOf adjAkWTF

I don't know how it happened. I don't know who took that first step. But someone did. Someone went and used Hungarian Notation to names columns in databases. And then a bunch of people followed. Now I won't go into how completely ridiculous I think Hungarian Notation is. I'll spare you an eventual admittance that it useful in some instances (when used properly). In fact, I won't even bring up my belief that those who abuse Hungarian notation (i.e. 95% of the people who use it) should forfeit their keyboards, apologize to their employer, and try a new profession (but not Civil Engineering). [expand full text]
« PrevPage 1Next »

re: adjYour adjDaily nCup prOf adjAkWTF

2004-06-18 15:21 • by No one special.
It's pnStories and pnInvites.

re: adjYour adjDaily nCup prOf adjAkWTF

2004-06-18 15:26 • by Randy Glenn
Wouldn't that be "adjAcrWTF" rather than "adjAkrWTF"?

Or do they spell "Acronym" differently in Hungary?

seperate date fields

2004-06-18 15:38 • by dave
Uh, sometimes you need to store invalid or incomplete dates. Most databases won't let you do that, so you have to allow for month day or year to be null.

re: adjYour adjDaily nCup prOf adjAkWTF

2004-06-18 16:02 • by Centaur
I thought “your” wasA pronoun? pronYour? :-/ (Phewww, what an ambiguous name…)

I confess I have used limited Hungarian notation for database objects — t_ for tables, f_ for fields, pk_/fk_ for primary/foreign keys and ix_ for indices. At least, it allows to use words that might otherwise be reserved. Although, maybe I’ll switch to a _ suffix, to be consistent with that C++ data member naming convention…

re: adjYour adjDaily nCup prOf adjAkWTF

2004-06-18 16:44 • by Stone Weaselton
The reason you don't like Hungarion notation is that you're not using it right. Your post says "adjThe adjFour adjRemaining," but The is an article, so it should read:

vSubmit adjYour adjAkrWTF nStories cjAnd vWin nOne prOf artThe adjFour adjRemaining adjGMail nInvites!

There. Now it's readable.

re: adjYour adjDaily nCup prOf adjAkWTF

2004-06-18 16:57 • by hao2lian
Or, for compeleteness:
ivSubmit adjYour adjAkrWTF nStories cjAnd ivWin nOne prOf artThe adjFour adjRemaining adjGMail nInvites!

"Your" is a possessive adjective. It's a quagmire of possessive pronouns, possessive nouns, possessive adjectives, and adjectival labels.

re: adjYour adjDaily nCup prOf adjAkWTF

2004-06-18 18:29 • by Alex Papadimoulis
Shows you how much I paid attention in grammar class. I really wanted to include tense, transitive/intransivite, and all that ... but Conjunction and Prepesition were the only ones I had the slightest clue about.

re: adjYour adjDaily nCup prOf adjAkWTF

2004-06-18 19:36 • by Mike Dunn
Good Hungarian is useful and helpful.

Bad Hungarian is, well... BAD. ;)

re: adjYour adjDaily nCup prOf adjAkWTF

2004-06-18 20:19 • by I'm Not Telling
I'll admit I use notation in databases. Well let me correct myself. I used to use notation with database fields. I will continue to use them in code but the database fields really ARE TOO MUCH. On more than one occassion I couldn't remember if I used int or num or str or txt. I'll still use dbDatabase and tblTable because it just seems right, to me. But no more intInt or strString or numPrice... new to wtf and I love it!

re: adjYour adjDaily nCup prOf adjAkWTF

2004-06-19 01:01 • by pUnk
Perhaps the names correspond to a pre-defined struct. Thus the inspiration for FILLER.

re: adjYour adjDaily nCup prOf adjAkWTF

2004-06-20 07:56 • by Uwe
The "Civil Engineering" link is broken.

re: adjYour adjDaily nCup prOf adjAkWTF

2004-06-20 18:05 • by elrond
"WTF" is an abbreviation, not an acronym :)

re: adjYour adjDaily nCup prOf adjAkWTF

2004-06-21 02:02 • by Centaur
An abbreviation is a part of the whole word, e.g. “abbr.”. “WTF” is an acronym, because it consists of first letters of several words (What The F[…]).

re: adjYour adjDaily nCup prOf adjAkWTF

2004-06-21 12:41 • by Jason
This is hilarious. I have to admit I like a limited sprinkling of Hungarian in the db object naming, but never, ever datatypes on fields.

Quick side note, however. In OLAP databases, breaking out a date in year, month, day, etc. is often a *good* practice. So without knowing the purpose of this DB it's hard to pick on that.

re: adjYour adjDaily nCup prOf adjAkWTF

2004-06-21 18:06 • by elrond
Not that anyone cares, but when I do a few searches for "acronym vs abbreviation" or "acronym vs initialism", the results usually* say an acronym is a special type of abbreviation that can be pronouced as a word itself. For example LASER stands for Light Amplification by Stimulated Emission of Radiation, but it's not pronouced by spelling out the letters L, A, S, E, R one by one. "WTF" would need to be read as "witiff" to qualify.

* I did come across a site giving definitions that match what Centaur said:
http://pao.cnmoc.navy.mil/Educate/zeus/teacher/lesson/langart/abbrev.htm

Most of them used the pronouncable word definition though:
http://en.wikipedia.org/wiki/Initialism
http://c2.com/cgi/wiki?AcronymVsAbbreviation
http://www.saila.com/usage/acronym/

re: adjYour adjDaily nCup prOf adjAkWTF

2004-06-22 16:44 • by Sean LeBlanc
Yeah....I inherited an older project to do a small amount of maintenance on at a job a long time ago. Then in 2002, I was working at a stupid little e-commerce company when we got a new, ahem, "CTO". He actually was asking us (no, forcing us) to use a retarded Hungarian notation in a pre-existing, production database - all new tables and sp/functions would be in this silly style. Over myself and another developer, both of us with ten plus years of experience. Well, a dopey junior developer thought it was great, and proceeded to write a "standards" doc and gave it to us. Then the experienced people were fired. Oh well, life moves on, and you just gotta say, "WTF?".

f-dat

2004-06-24 18:37 • by Eric Hodel
I looked at the dates and read to myself "F-dat-StatusEffectiveDate", then it reminded me of the people who renamed their servers all 's' followed by the function of the box. They had two Exchange servers, sexchange1 and sexchange2

Breaking out dates

2004-08-14 18:38 • by Adam
Well, the programmer might have had a reason to break the date into day/month/year, but there is almost surely no good reason to have both the combined and split forms in there. That's just asking for trouble.

re: adjYour adjDaily nCup prOf adjAkWTF

2004-10-29 06:41 • by Thygrrr
YOUR is not an adjective. It's a possessive pronoun. I wonder why such wrongness is taught in senior english classes? (during my stay in the US, exactly this kind of BS was taught to us in senior high... boy was I glad to get back to Germany)

And... WTF is a noun, at least it's a neologism/acronym used as one.


Ah, and yes - I /am/ a "Grammar Nazi" :)

re: adjYour adjDaily nCup prOf adjAkWTF

2004-10-29 06:41 • by Blunderbuss
"US grammar is my WTF"

Re: re: adjYour adjDaily nCup prOf adjAkWTF

2008-10-17 14:49 • by hotogomososododoflo (unregistered)
223472 in reply to 22444
Mike Dunn:
Good Hungarian is useful and helpful.

Bad Hungarian is, well... BAD. ;)


agreed. This example is excessive and doesn't add much value for fields of course, but strict naming conventions can be quite useful when it makes sense to use them.

Re: adjYour adjDaily nCup prOf adjAkWTF

2009-06-07 00:36 • by Treavel Expert (unregistered)

Re: adjYour adjDaily nCup prOf adjAkWTF

2011-03-02 02:35 • by cindy (unregistered)

Re: adjYour adjDaily nCup prOf adjAkWTF (1012)

2011-08-24 09:43 • by Mnemoc (unregistered)
The URL of the day for Hungarian notation is http://msdn.microsoft.com/en-us/library/aa260976%28v=VS.60%29.aspx

Yesterday it probably was something else.
Tomorrow? Well...
« PrevPage 1Next »

Add Comment