adjYour adjDaily nCup prOf adjAkWTF

« Return to Article
  • No one special. 2004-06-18 15:21
    It's pnStories and pnInvites.
  • Randy Glenn 2004-06-18 15:26
    Wouldn't that be &quot;adjAcrWTF&quot; rather than &quot;adjAkrWTF&quot;? <br> <br>Or do they spell &quot;Acronym&quot; differently in Hungary?
  • dave 2004-06-18 15:38
    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.
  • Centaur 2004-06-18 16:02
    I thought “your” wasA pronoun? pronYour? :-/ (Phewww, what an ambiguous name…) <br> <br>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…
  • Stone Weaselton 2004-06-18 16:44
    The reason you don't like Hungarion notation is that you're not using it right. Your post says &quot;adjThe adjFour adjRemaining,&quot; but The is an article, so it should read: <br> <br>vSubmit adjYour adjAkrWTF nStories cjAnd vWin nOne prOf artThe adjFour adjRemaining adjGMail nInvites! <br> <br>There. Now it's readable. <br>
  • hao2lian 2004-06-18 16:57
    Or, for compeleteness: <br>ivSubmit adjYour adjAkrWTF nStories cjAnd ivWin nOne prOf artThe adjFour adjRemaining adjGMail nInvites! <br> <br>&quot;Your&quot; is a possessive adjective. It's a quagmire of possessive pronouns, possessive nouns, possessive adjectives, and adjectival labels.
  • Alex Papadimoulis 2004-06-18 18:29
    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.
  • Mike Dunn 2004-06-18 19:36
    Good Hungarian is useful and helpful. <br> <br>Bad Hungarian is, well... BAD. ;)
  • I'm Not Telling 2004-06-18 20:19
    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!
  • pUnk 2004-06-19 01:01
    Perhaps the names correspond to a pre-defined struct. Thus the inspiration for FILLER.
  • Uwe 2004-06-20 07:56
    The &quot;Civil Engineering&quot; link is broken.
  • elrond 2004-06-20 18:05
    &quot;WTF&quot; is an abbreviation, not an acronym :)
  • Centaur 2004-06-21 02:02
    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[…]).
  • Jason 2004-06-21 12:41
    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. <br> <br>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.
  • elrond 2004-06-21 18:06
    Not that anyone cares, but when I do a few searches for &quot;acronym vs abbreviation&quot; or &quot;acronym vs initialism&quot;, 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. &quot;WTF&quot; would need to be read as &quot;witiff&quot; to qualify. <br> <br>* I did come across a site giving definitions that match what Centaur said: <br><a target="_new" href="http://pao.cnmoc.navy.mil/Educate/zeus/teacher/lesson/langart/abbrev.htm">http://pao.cnmoc.navy.mil/Educate/zeus/teacher/lesson/langart/abbrev.htm</a> <br> <br>Most of them used the pronouncable word definition though: <br><a target="_new" href="http://en.wikipedia.org/wiki/Initialism">http://en.wikipedia.org/wiki/Initialism</a> <br><a target="_new" href="http://c2.com/cgi/wiki?AcronymVsAbbreviation">http://c2.com/cgi/wiki?AcronymVsAbbreviation</a> <br><a target="_new" href="http://www.saila.com/usage/acronym/">http://www.saila.com/usage/acronym/</a> <br>
  • Sean LeBlanc 2004-06-22 16:44
    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, &quot;CTO&quot;. 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 &quot;standards&quot; doc and gave it to us. Then the experienced people were fired. Oh well, life moves on, and you just gotta say, &quot;WTF?&quot;.
  • Eric Hodel 2004-06-24 18:37
    I looked at the dates and read to myself &quot;F-dat-StatusEffectiveDate&quot;, 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
  • Adam 2004-08-14 18:38
    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.
  • Thygrrr 2004-10-29 06:41
    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) <br> <br>And... WTF is a noun, at least it's a neologism/acronym used as one. <br> <br> <br>Ah, and yes - I /am/ a &quot;Grammar Nazi&quot; :)
  • Blunderbuss 2004-10-29 06:41
    &quot;US grammar is my WTF&quot;
  • hotogomososododoflo 2008-10-17 14:49
    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.

  • Treavel Expert 2009-06-07 00:36
  • cindy 2011-03-02 02:35
  • Mnemoc 2011-08-24 09:43
    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...