Jul 17, 2003

int foo()
{
    if ( ! doYouKnowWhatFooIs )
    {
        ask();
    }
    else
    {
        printf("\nYes, the answer is %s !", bar()");
    }
    return LOL;
}

Thanks to an illuminating discussion on acronyms in the weekly newsletter sent to subscribers of A Word A Day including one on the various degrees of having f***ed up, I know the answer to something I always wanted to ask, but was afraid to. The question is why do a lot of examples in c/c++ textbooks use the strings foo and bar in examples. The answer lies in the geeky sense of humour and the expansion of FUBAR.

More info at this link (look up the link for foo and bar as well)

My contrib. to this time's newsletter (inspired from a question from an old Mensa quiz ) provided a happy punching bag for many :-)

No comments: