• No one special. (unregistered)

    It's pnStories and pnInvites.

  • Randy Glenn (unregistered)

    Wouldn't that be "adjAcrWTF" rather than "adjAkrWTF"?

    Or do they spell "Acronym" differently in Hungary?

  • dave (unregistered)

    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 (unregistered)

    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…

  • Stone Weaselton (unregistered)

    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.

  • hao2lian (unregistered)

    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.

  • Alex Papadimoulis (unregistered)

    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 (unregistered)

    Good Hungarian is useful and helpful.

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

  • I'm Not Telling (unregistered)

    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 (unregistered)

    Perhaps the names correspond to a pre-defined struct. Thus the inspiration for FILLER.

  • Uwe (unregistered)

    The "Civil Engineering" link is broken.

  • elrond (unregistered)

    "WTF" is an abbreviation, not an acronym :)

  • Centaur (unregistered)

    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 (unregistered)

    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.

  • elrond (unregistered)

    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/

  • Sean LeBlanc (unregistered)

    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?".

  • Eric Hodel (unregistered)

    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

  • Adam (unregistered)

    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 (unregistered)

    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" :)

  • Blunderbuss (unregistered)

    "US grammar is my WTF"

  • hotogomososododoflo (unregistered) in reply to Mike Dunn
    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 (unregistered)
  • 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...

Leave a comment on “adjYour adjDaily nCup prOf adjAkWTF”

Log In or post as a guest

Replying to comment #:

« Return to Article