• Dan Tastik (unregistered)

    It's still much much clearer and straight forward than Hibernate, especially if they make you use Spring with it too

  • (cs) in reply to bored_again
    bored_again:
    There once was a man who wore glasses. Who wrapped all his tables in classes. With an interface to explain. From implementing I will refrain. I'll be laughing till they burn me to ashes.

    There once was a fool who wrote limericks But as for scansion was particularly dimericks There were more syllables than were needed And without humour were these limericks seeded And he couldn't ever get the final line to rhymericks.

  • Rhyme Time (unregistered)

    Did you know that nothing rhymes with the adjective "gullible"?

  • atk (unregistered) in reply to Maltz
    Maltz:
    fab:
    is WTF considered an adjective?

    Perhaps "acronym" does NOT cross language barriers. :)

    Acronym denotes something pronouncable, like RADIUS. You mean abbreviation, of which acronym is a subset.

  • The Bruce Dickinson (unregistered)

    Guess what? I got a fever, and the only prescription is more XML!

  • grammar nazi (unregistered) in reply to Maltz

    I hate to be pedantic, but WTF is an initialisation and not an acronym. AIDS is an acronym because you say it like a word. But since you pronounce each letter of WTF, it's not an acronym.

  • (cs) in reply to grammar nazi
    grammar nazi:
    I hate to be pedantic, but WTF is an initialisation and not an acronym. AIDS is an acronym because you say it like a word. But since you pronounce each letter of WTF, it's not an acronym.

    So what's your take on 'SQL'?

  • trtrwtf (unregistered) in reply to @Deprecated
    @Deprecated:
    grammar nazi:
    I hate to be pedantic, but WTF is an initialisation and not an acronym. AIDS is an acronym because you say it like a word. But since you pronounce each letter of WTF, it's not an acronym.

    So what's your take on 'SQL'?

    Pronounced "squeal".

  • TurdCrawler (unregistered) in reply to TheSHEEEP
    TheSHEEEP:
    ... and it is an interface, which means that someone wanted other people to inherit this.. kot.

    FTFY

  • (cs) in reply to trtrwtf
    trtrwtf:
    @Deprecated:
    grammar nazi:
    I hate to be pedantic, but WTF is an initialisation and not an acronym. AIDS is an acronym because you say it like a word. But since you pronounce each letter of WTF, it's not an acronym.

    So what's your take on 'SQL'?

    Pronounced "squeal".

    that is sound pigs make.

    you should call it "Cee Quell" said with soft s and hard k sound.

  • Homer (unregistered) in reply to Chelloveck
    Chelloveck:
    Martin:
    For those few readers who are not fluent in colloquial german: quäl-kot translates to "torment feces"

    I'm still wondering what "famous three-letter explicit adjective" crosses language barriers...

    D'oh?

  • Meep (unregistered) in reply to Martin
    Martin:
    For those few readers who are not fluent in colloquial german: quäl-kot translates to "torment feces"

    Trust the Germans to have a phrase for that.

  • Meep (unregistered) in reply to grammar nazi
    grammar nazi:
    I hate to be pedantic, but WTF is an initialisation and not an acronym. AIDS is an acronym because you say it like a word. But since you pronounce each letter of WTF, it's not an acronym.

    It's "initialism."

  • qbolec (unregistered) in reply to Rhyme Time
    Rhyme Time:
    Did you know that nothing rhymes with the adjective "gullible"?
    Yes, but that's negligible
  • JJ (unregistered) in reply to @Deprecated
    @Deprecated:
    grammar nazi:
    I hate to be pedantic, but WTF is an initialisation and not an acronym. AIDS is an acronym because you say it like a word. But since you pronounce each letter of WTF, it's not an acronym.

    So what's your take on 'SQL'?

    Personally:

    S

    Q

    L

  • qbolec (unregistered)

    I thought about: LOL as in lol cat, or lol code (101 code?) WOW as in wow wow wow BAD as in bad code (bed code?) CPP as in c++ code

    Anyway, I must admit that WTF crossed at least Polish border, but we usually pronounce it voo-te-eff (with e as in tent).

  • Unicorn #8157 (unregistered) in reply to @Deprecated
    @Deprecated:
    grammar nazi:
    I hate to be pedantic, but WTF is an initialisation and not an acronym. AIDS is an acronym because you say it like a word. But since you pronounce each letter of WTF, it's not an acronym.

    So what's your take on 'SQL'?

    Officially, it's supposed to be pronounced like an initialism. However, pronouncing it as "sequel" is common and the initial name was SEQUEL back in the 70s and changed due to a trademark problem. Some oddballs do, as noted previously, say "squeal" like a pig. "Cee quell" makes no sense to my ears, however and have never heard any one else pronounce it like that. (And if you think "cee quell" is equivalent to "sequel" then your William Shatner impression must be a hoot.)

  • (cs)

    It's pronounced "squill", doi.

  • (cs) in reply to qbolec
    qbolec:
    I thought about: LOL as in lol cat, or lol code (101 code?) WOW as in wow wow wow BAD as in bad code (bed code?) CPP as in c++ code

    Anyway, I must admit that WTF crossed at least Polish border, but we usually pronounce it voo-te-eff (with e as in tent).

    But "bad" means "bath" in German. Doesn't quite work the same way.

  • (cs) in reply to Unicorn #8157
    Unicorn #8157:
    @Deprecated:
    grammar nazi:
    I hate to be pedantic, but WTF is an initialisation and not an acronym. AIDS is an acronym because you say it like a word. But since you pronounce each letter of WTF, it's not an acronym.

    So what's your take on 'SQL'?

    Officially, it's supposed to be pronounced like an initialism. However, pronouncing it as "sequel" is common and the initial name was SEQUEL back in the 70s and changed due to a trademark problem. Some oddballs do, as noted previously, say "squeal" like a pig. "Cee quell" makes no sense to my ears, however and have never heard any one else pronounce it like that. (And if you think "cee quell" is equivalent to "sequel" then your William Shatner impression must be a hoot.)

    yeah well who the fuck is William Shatner and who gives a shit anyway?

  • (cs) in reply to Matt Westwood
    Matt Westwood:
    yeah well who the fuck is William Shatner and who gives a shit anyway?

    He is.. just like.. Matt Westwood... only he... cusses.. less!

  • Jerry (unregistered) in reply to qbolec
    qbolec:
    Rhyme Time:
    Did you know that nothing rhymes with the adjective "gullible"?
    Yes, but that's negligible
    Your opinion is nullable.
  • (cs) in reply to Leo
    Leo:
    Coder:
    WTF is technically not an acronym, since it doesn't form an existing word. (An example of an actual acronym would be COOL for Cool Object-Oriented Language.) As such, WTF is an initialism.

    Doesn't have to be an existing word, just something that is pronounced as a word, and not as individual letters.

    Right. Examples of acronyms that form pronounceable words that did not previously exist include SCUBA, LASER and RADAR.

    The status of UFO depends upon what country you're in; in the US it's an initialism but in the UK it's an acronym. Same with CICS and in some circles, URL.

  • Born Oklahoma Proud (unregistered) in reply to Nagesh
    Nagesh:
    We all see such examples of code in source code repositories of projects we work with. It is nice to know that national originality of person does not matter when it come to mess up code.

    F--- off, idiot. When I want your (wrong) opinion, I'll ask for it.

  • (cs) in reply to grammar nazi
    grammar nazi:
    I hate to be pedantic...

    Patently false.

  • Shutterbug (unregistered) in reply to Roby McAndrew

    Please feature Roby's comment. It just made me "WTF" all over my keyboard

    There you go, it's a verb

  • Shutterbug (unregistered) in reply to Roby McAndrew
    Roby McAndrew:
    I <3 scala:
    Acronyms have to form a pronounceable word.

    "WTF" is onomatopoeic. It is the sound of coffee being sprayed over keyboard.

    ** MUST LEARN HOW TO QUOTE **

    Please feature Roby's comment. It just made me "WTF" all over my keyboard

    There you go, it's a verb

  • Ralph (unregistered) in reply to da Doctah
    da Doctah:
    The status of UFO depends upon what country you're in; in the US it's an initialism but in the UK it's an acronym. Same with CICS and in some circles, URL.
    People who say "ooorrlll" instead of U R L make me want to HURL.
  • (cs) in reply to KattMan
    KattMan:
    Matt Westwood:
    yeah well who the fuck is William Shatner and who gives a shit anyway?

    He is.. just like.. Matt Westwood... only he... cusses.. less!

    Cusses less? He must be a bit of a cunt, then.

  • Friedrice the Great (unregistered) in reply to Rhyme Time
    Rhyme Time:
    Did you know that nothing rhymes with the adjective "gullible"?

    "Thurible" comes close. http://en.wikipedia.org/wiki/Thurible

  • (cs) in reply to Ralph
    Ralph:
    da Doctah:
    The status of UFO depends upon what country you're in; in the US it's an initialism but in the UK it's an acronym. Same with CICS and in some circles, URL.
    People who say "ooorrlll" instead of U R L make me want to HURL.

    And certain political movements in the UK want to pronounce UK as an acronym. "What's it like there?" "UK! Don't ask!"

  • Eric Sarjeant (unregistered) in reply to TheSHEEEP

    Actually - it's a tad bit messier than that - it's an interface which means someone wants you to implement this mess. So you need to know is expected for table4a as well as table4b.

  • AndrewH (unregistered) in reply to Anketam
    Anketam:
    Needs a selectTable2a and selectTable2b, that way I could make a horribly abused joke about is it Table2b or not 2b?

    I notice the lack didn't stop you

  • (cs)

    This is far too complex. It should be just one method:

    public interface ITableSelector
    {
        string selectTable(string s);
    }
    

    That way, the code could be improved by designating a table with a string, such as:

    string s = ITableSelector->selectTable("4b");
    

    See, the way it was in the article, it's too hard to conceal which tables are being selected where.

    (Shudder.)

  • Über pedant (unregistered) in reply to pedagogical pedant
    pedagogical pedant:
    It's not an abbreviation, [...] it is without doubt an initialism: http://en.wikipedia.org/wiki/Acronym_and_initialism#Nomenclature
    I love a nice bit of pedantry, and of course the best kind is nitpicking the pedantry of other pedants.

    From the start of the article you linked to: "Acronyms and initialisms are abbreviations..."

  • Flann O'Brien (unregistered) in reply to QJo
    QJo:
    bored_again:
    There once was a man who wore glasses. Who wrapped all his tables in classes. With an interface to explain. From implementing I will refrain. I'll be laughing till they burn me to ashes.

    There once was a fool who wrote limericks But as for scansion was particularly dimericks There were more syllables than were needed And without humour were these limericks seeded And he couldn't ever get the final line to rhymericks.

    Said a Sassenach back in Dun Laoghaire "I pay homage to nationalist thaoghaire, But wherever I drobh I found signposts that strobh To make touring in Ireland so draoghaire."

  • (cs) in reply to Coder
    Coder:
    WTF is technically not an acronym, since it doesn't form an existing word. (An example of an actual acronym would be COOL for Cool Object-Oriented Language.) As such, WTF is an initialism.
    Almost, COOL was "Common Object Oriented Language". http://en.wikipedia.org/wiki/Information_Engineering_Facility

    And why is the DailyWTF calling this spam? I'm sure as hell not going to recommend that anybody use cool:gen.

  • (cs) in reply to Flann O'Brien
    Flann O'Brien:
    QJo:
    bored_again:
    There once was a man who wore glasses. Who wrapped all his tables in classes. With an interface to explain. From implementing I will refrain. I'll be laughing till they burn me to ashes.

    There once was a fool who wrote limericks But as for scansion was particularly dimericks There were more syllables than were needed And without humour were these limericks seeded And he couldn't ever get the final line to rhymericks.

    Said a Sassenach back in Dun Laoghaire "I pay homage to nationalist thaoghaire, But wherever I drobh I found signposts that strobh To make touring in Ireland so draoghaire."

    +1

    Hadn't heard that one before.

    There once was a Yank in the UK He'd been there since back in Y2K While the girls made him smile The food was quite vile And the beer was utterly pUK

  • Andrew (unregistered) in reply to Born Oklahoma Proud
    Born Oklahoma Proud:
    Nagesh:
    We all see such examples of code in source code repositories of projects we work with. It is nice to know that national originality of person does not matter when it come to mess up code.

    F--- off, idiot. When I want your (wrong) opinion, I'll ask for it.

    You must be new here. I've got to side with real Nagesh on this one. TDWTF has taught us "Good ol' down home" American coders can do worse. Also Chinese.

  • Sayer (unregistered) in reply to Matt Westwood
    Matt Westwood:
    KattMan:
    Matt Westwood:
    yeah well who the fuck is William Shatner and who gives a shit anyway?

    He is.. just like.. Matt Westwood... only he... cusses.. less!

    Cusses less? He must be a bit of a cunt, then.

    No, you seem confused. Shatner is the one of you who's not a cunt.

    vereor: should my browser be auto-filling the CAPTCHA?

  • Robbert (unregistered)

    I'm Austrian and back at school our teacher often mentioned code pieces which translates to Code Stückerl, but Code is pronounced like Kot which means shit. The whole class always giggled when the teacher mentioned working with shit chunklets.

  • Ach (unregistered)

    Swiss-German is such an ugly language :p

  • TS (unregistered)

    I really wonder what's returned when you select one of these gorgeous tables in the interface. Maybe the name of the only column in that table? Or "ok" and "not ok"?

  • College Student (unregistered)

    My eye started twitching when I read that.

  • Seattle Slattern (unregistered) in reply to Born Oklahoma Proud
    Born Oklahoma Proud:
    Nagesh:
    We all see such examples of code in source code repositories of projects we work with. It is nice to know that national originality of person does not matter when it come to mess up code.

    F--- off, idiot. When I want your (wrong) opinion, I'll ask for it.

    You can't still say fuck?

  • Seattle Slattern (unregistered) in reply to Andrew
    Andrew:
    Born Oklahoma Proud:
    Nagesh:
    We all see such examples of code in source code repositories of projects we work with. It is nice to know that national originality of person does not matter when it come to mess up code.

    F--- off, idiot. When I want your (wrong) opinion, I'll ask for it.

    You must be new here. I've got to side with real Nagesh on this one. TDWTF has taught us "Good ol' down home" American coders can do worse. Also Chinese.

    Everyone messes up code. That's plain fact. As plain as everyone on this planet screws, except for the Pope, of course.

  • Woodchild (unregistered) in reply to Anketam

    I'm one of Christian's co-workers, and yes, we really have methods like selectTable2a() etc. It is only one of a whole bunch of interfaces like this.

  • Fake Fake Nagesh (unregistered) in reply to Matt Westwood
    Matt Westwood:
    Unicorn #8157:
    @Deprecated:
    grammar nazi:
    I hate to be pedantic, but WTF is an initialisation and not an acronym. AIDS is an acronym because you say it like a word. But since you pronounce each letter of WTF, it's not an acronym.

    So what's your take on 'SQL'?

    Officially, it's supposed to be pronounced like an initialism. However, pronouncing it as "sequel" is common and the initial name was SEQUEL back in the 70s and changed due to a trademark problem. Some oddballs do, as noted previously, say "squeal" like a pig. "Cee quell" makes no sense to my ears, however and have never heard any one else pronounce it like that. (And if you think "cee quell" is equivalent to "sequel" then your William Shatner impression must be a hoot.)

    yeah well who the fuck is William Shatner and who gives a shit anyway?

    He discoverd...strange new worlds...while Chris...topher Columbus dis...covered a world that was already discovered! [/epicrapbattlereference]

    CAPTCHA: caecus - A circus for cakes

  • SG (unregistered) in reply to Severity One
    Severity One:
    It would have indeed been more elegant if you could invoke a single method with the name of the table stored in an enum.

    I'm glad you've never seen your suggestion put to use in an enterprisy application.

    void SelectTable(TableEnum targetTable) { switch(targetTable) { case TableEnum.ONE: // snip 20 lines case TableEnum.TWO: // ..... //....... case TableEnum.NinetySix:.... } }

  • (cs) in reply to Russ
    Russ:
    An abbreviation is the shortening of a single word, such as shortening "associate" to "ass."

    I know this is an old thread...but....

    Many years ago [1993] I was working on one of the first CD-ROM based subscriptions. It was produced by a major technical print publication house, so of course, it had a "publisher". He had an assistant, a quite attractive young lady...

    At one trade show, here badge was printed as "Publisher's Ass".....Not surprisingly she got rather upset.

Leave a comment on “The Table Selector”

Log In or post as a guest

Replying to comment #:

« Return to Article