Thread: What is up with foo

  1. #1
    Banned
    Join Date
    Jan 2003
    Posts
    1,708

    Angry What is up with foo

    Why are all the msdn functions named foo

  2. #2
    Evil Member
    Join Date
    Jan 2002
    Posts
    638
    Because foo is the first metasyntactic variable.

  3. #3
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    metasyntactic? bless you!

  4. #4
    Microsoft. Who? MethodMan's Avatar
    Join Date
    Mar 2002
    Posts
    1,198
    Well I am not sure if it comes from this, but I konw there is an army saying of foo bar.

    Since its involes some language not appropriate for this board, look at the second link here:

    http://www.google.com/search?q=foo+b...utf-8&oe=utf-8
    -MethodMan-

    Your Move:Life is a game, Play it; Life is a challenge, Meet it; Life is an opportunity, capture it.

    Homepage: http://www.freewebs.com/andy_moog/home.html

  5. #5
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Originally posted by MethodMan
    Well I am not sure if it comes from this, but I konw there is an army saying of foo bar.

    Since its involes some language not appropriate for this board, look at the second link here:

    http://www.google.com/search?q=foo+b...utf-8&oe=utf-8
    This is weird. Every time I click on that link I'm sent to a random site (linux.org, debian.org, techp.org etc...).
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  6. #6
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    what the heck does metasyntactic mean

  7. #7
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    i think it means that its a variable used for demonstration in any language.

  8. #8
    Just a Member ammar's Avatar
    Join Date
    Jun 2002
    Posts
    953
    That's strange, is that really where the word foo came from?!
    And how did it become that popular?!
    none...

  9. #9
    Registered User
    Join Date
    Dec 2002
    Posts
    37
    From Jargon File (4.3.0, 30 APR 2001) :

    foo /foo/ 1. interj. Term of disgust. 2. [very common] Used very
    generally as a sample name for absolutely anything, esp. programs and
    files (esp. scratch files). 3. First on the standard list of
    metasyntactic variables used in syntax examples. See also bar,
    baz, qux, quux, corge, grault, garply, waldo, fred,
    plugh, xyzzy, thud.

    When `foo' is used in connection with `bar' it has generally traced to
    the WWII-era Army slang acronym FUBAR (`####ed Up Beyond All Repair'),
    later modified to foobar. Early versions of the Jargon File
    interpreted this change as a post-war bowdlerization, but it it now
    seems more likely that FUBAR was itself a derivative of `foo' perhaps
    influenced by German `furchtbar' (terrible) - `foobar' may actually have
    been the _original_ form.

    For, it seems, the word `foo' itself had an immediate prewar history
    in comic strips and cartoons. The earliest documented uses were in the
    "Smokey Stover" comic strip published from about 1930 to about 1952.
    Bill Holman, the author of the strip, filled it with odd jokes and
    personal contrivances, including other nonsense phrases such as "Notary
    Sojac" and "1506 nix nix". The word "foo" frequently appeared in the on
    license plates of cars, in nonsens sayings in the background of some
    frames (such as "He who foos last foos best" or "Many smoke but foo men
    chew"), and Holman had Smokey say "Where there's foo, there's fire".

    According to the Warner Brothers Cartoon Companion
    (http://www.spumco.com/magazine/eowbcc/) Holman claimed to have found
    the word "foo" on the bottom of a Chinese figurine. This is plausible;
    Chinese statuettes often have apotropaic inscriptions, and this may have
    been the Chinese word `fu' (sometimes transliterated `foo'), which can
    mean "happiness" or "prosperity" when spoken with the proper tone (the
    lion-dog guardians flanking the steps of many Chinese restaurants are
    properly called "fu dogs"). English speakers' reception of Holman's
    `foo' nonsense word was undoubtedly influenced by Yiddish `feh' and
    English `fooey' and `fool'.

    Holman's strip featured a firetruck called the Foomobile that rode on
    two wheels. The comic strip was tremendously popular in the late 1930s,
    and legend has it that a manufacturer in Indiana even produced an
    operable version of Holman's Foomobile. According to the Encyclopedia of
    American Comics, `Foo' fever swept the U.S., finding its way into
    popular songs and generating over 500 `Foo Clubs.' The fad left `foo'
    references embedded in popular culture (including a couple of
    appearances in Warner Brothers cartoons of 1938-39; notably in Robert
    Clampett's "Daffy Doc" of 1938, in which a very early version of Daffy
    Duck holds up a sign saying "SILENCE IS FOO!")When the fad faded, the
    origin of "foo" was forgotten.

    One place "foo" is known to have remained live is in the U.S. military
    during the WWII years. In 1944-45, the term `foo fighters' was in use by
    radar operators for the kind of mysterious or spurious trace that would
    later be called a UFO (the older term resurfaced in popular American
    usage in 1995 via the name of one of the better grunge-rock bands).
    Because informants connected the term directly to the Smokey Stover
    strip, the folk etymology that connects it to French "feu" (fire) can be
    gently dismissed.

    The U.S. and British militaries frequently swapped slang terms during
    the war (see kluge and kludge for another important example) Period
    sources reported that `FOO' became a semi-legendary subject of WWII
    British-army graffiti more or less equivalent to the American Kilroy.
    Where British troops went, the graffito "FOO was here" or something
    similar showed up. Several slang dictionaries aver that FOO probably
    came from Forward Observation Officer, but this (like the
    contemporaneous "FUBAR") was probably a backronym . Forty years later,
    Paul Dickson's excellent book "Words" (Dell, 1982, ISBN 0-440-52260-7)
    traced "Foo" to an unspecified British naval magazine in 1946, quoting
    as follows: "Mr. Foo is a mysterious Second World War product, gifted
    with bitter omniscience and sarcasm."

    Earlier versions of this entry suggested the possibility that hacker
    usage actually sprang from "FOO, Lampoons and Parody", the title of a
    comic book first issued in September 1958, a joint project of Charles
    and Robert Crumb. Though Robert Crumb (then in his mid-teens) later
    became one of the most important and influential artists in underground
    comics, this venture was hardly a success; indeed, the brothers later
    burned most of the existing copies in disgust. The title FOO was
    featured in large letters on the front cover. However, very few copies
    of this comic actually circulated, and students of Crumb's `oeuvre' have
    established that this title was a reference to the earlier Smokey Stover
    comics. The Crumbs may also have been influenced by a short-lived
    Canadian parody magazine named `Foo' published in 1951-52.

    An old-time member reports that in the 1959 "Dictionary of the TMRC
    Language", compiled at TMRC, there was an entry that went something
    like this:

    FOO: The first syllable of the sacred chant phrase "FOO MANE PADME
    HUM." Our first obligation is to keep the foo counters turning.

    (For more about the legendary foo counters, see TMRC.) This
    definition used Bill Holman's nonsense word, only then two decades old
    and demonstrably still live in popular culture and slang, to a ha ha
    only serious analogy with esoteric Tibetan Buddhism. Today's hackers
    would find it difficult to resist elaborating a joke like that, and it
    is not likely 1959's were any less susceptible. Almost the entire staff
    of what later became the MIT AI Lab was involved with TMRC, and the word
    spread from there.

    Finally (and perhaps irrelevantly) a Russian correspondent reports
    that in mainstream Russian, "Foo" (or "Fu") is an interjection commonly
    used as a response to bad smell, bad taste, or other unpleasant
    sensatiion.




    From The Free On-line Dictionary of Computing (09 FEB 02) :

    foo

    /foo/ A sample name for absolutely anything,
    especially programs and files (especially scratch files).
    First on the standard list of metasyntactic variables used
    in syntax examples. See also bar, baz, qux, quux,
    corge, grault, garply, waldo, fred, plugh,
    xyzzy, thud.

    The etymology of "foo" is obscure. When used in connection
    with "bar" it is generally traced to the WWII-era Army slang
    acronym FUBAR, later bowdlerised to foobar.

    However, the use of the word "foo" itself has more complicated
    antecedents, including a long history in comic strips and
    cartoons.

    "FOO" often appeared in the "Smokey Stover" comic strip by
    Bill Holman. This surrealist strip about a fireman appeared
    in various American comics including "Everybody's" between
    about 1930 and 1952. FOO was often included on licence plates
    of cars and in nonsense sayings in the background of some
    frames such as "He who foos last foos best" or "Many smoke but
    foo men chew".

    Allegedly, "FOO" and "BAR" also occurred in Walt Kelly's
    "Pogo" strips. In the 1938 cartoon "The Daffy Doc", a very
    early version of Daffy Duck holds up a sign saying "SILENCE IS
    FOO!". Oddly, this seems to refer to some approving or
    positive affirmative use of foo. It has been suggested that
    this might be related to the Chinese word "fu" (sometimes
    transliterated "foo"), which can mean "happiness" when spoken
    with the proper tone (the lion-dog guardians flanking the
    steps of many Chinese restaurants are properly called "fu
    dogs").

    Earlier versions of this entry suggested the possibility that
    hacker usage actually sprang from "FOO, Lampoons and Parody",
    the title of a comic book first issued in September 1958, a
    joint project of Charles and Robert Crumb. Though Robert
    Crumb (then in his mid-teens) later became one of the most
    important and influential artists in underground comics, this
    venture was hardly a success; indeed, the brothers later
    burned most of the existing copies in disgust. The title FOO
    was featured in large letters on the front cover. However,
    very few copies of this comic actually circulated, and
    students of Crumb's "oeuvre" have established that this title
    was a reference to the earlier Smokey Stover comics.

    An old-time member reports that in the 1959 "Dictionary of the
    TMRC Language", compiled at TMRC there was an entry that
    went something like this:

    FOO: The first syllable of the sacred chant phrase "FOO MANE
    PADME HUM." Our first obligation is to keep the foo counters
    turning.

    For more about the legendary foo counters, see TMRC. Almost
    the entire staff of what became the MIT AI LAB was
    involved with TMRC, and probably picked the word up there.

    Another correspondant cites the nautical construction
    "foo-foo" (or "poo-poo"), used to refer to something
    effeminate or some technical thing whose name has been
    forgotten, e.g. "foo-foo box", "foo-foo valve". This was
    common on ships by the early nineteenth century.

    Very probably, hackish "foo" had no single origin and derives
    through all these channels from Yiddish "feh" and/or English
    "fooey".

    [{Jargon File]

    (1998-04-16)

  10. #10
    Green Member Cshot's Avatar
    Join Date
    Jun 2002
    Posts
    892
    Originally posted by blitzkrieg
    From Jargon File (4.3.0, 30 APR 2001) :

    foo /foo/ 1. interj. Term of disgust. 2. [very common] Used very
    generally as a sample name for absolutely anything, esp. programs and
    files (esp. scratch files). 3. First on the standard list of
    metasyntactic variables used in syntax examples. See also bar,
    baz, qux, quux, corge, grault, garply, waldo, fred,
    plugh, xyzzy, thud.

    When `foo' is used in connection with `bar' it has generally traced to
    the WWII-era Army slang acronym FUBAR (`####ed Up Beyond All Repair'),
    later modified to foobar. Early versions of the Jargon File
    interpreted this change as a post-war bowdlerization, but it it now
    seems more likely that FUBAR was itself a derivative of `foo' perhaps
    influenced by German `furchtbar' (terrible) - `foobar' may actually have
    been the _original_ form.

    For, it seems, the word `foo' itself had an immediate prewar history
    in comic strips and cartoons. The earliest documented uses were in the
    "Smokey Stover" comic strip published from about 1930 to about 1952.
    Bill Holman, the author of the strip, filled it with odd jokes and
    personal contrivances, including other nonsense phrases such as "Notary
    Sojac" and "1506 nix nix". The word "foo" frequently appeared in the on
    license plates of cars, in nonsens sayings in the background of some
    frames (such as "He who foos last foos best" or "Many smoke but foo men
    chew"), and Holman had Smokey say "Where there's foo, there's fire".

    According to the Warner Brothers Cartoon Companion
    (http://www.spumco.com/magazine/eowbcc/) Holman claimed to have found
    the word "foo" on the bottom of a Chinese figurine. This is plausible;
    Chinese statuettes often have apotropaic inscriptions, and this may have
    been the Chinese word `fu' (sometimes transliterated `foo'), which can
    mean "happiness" or "prosperity" when spoken with the proper tone (the
    lion-dog guardians flanking the steps of many Chinese restaurants are
    properly called "fu dogs"). English speakers' reception of Holman's
    `foo' nonsense word was undoubtedly influenced by Yiddish `feh' and
    English `fooey' and `fool'.

    Holman's strip featured a firetruck called the Foomobile that rode on
    two wheels. The comic strip was tremendously popular in the late 1930s,
    and legend has it that a manufacturer in Indiana even produced an
    operable version of Holman's Foomobile. According to the Encyclopedia of
    American Comics, `Foo' fever swept the U.S., finding its way into
    popular songs and generating over 500 `Foo Clubs.' The fad left `foo'
    references embedded in popular culture (including a couple of
    appearances in Warner Brothers cartoons of 1938-39; notably in Robert
    Clampett's "Daffy Doc" of 1938, in which a very early version of Daffy
    Duck holds up a sign saying "SILENCE IS FOO!")When the fad faded, the
    origin of "foo" was forgotten.

    One place "foo" is known to have remained live is in the U.S. military
    during the WWII years. In 1944-45, the term `foo fighters' was in use by
    radar operators for the kind of mysterious or spurious trace that would
    later be called a UFO (the older term resurfaced in popular American
    usage in 1995 via the name of one of the better grunge-rock bands).
    Because informants connected the term directly to the Smokey Stover
    strip, the folk etymology that connects it to French "feu" (fire) can be
    gently dismissed.

    The U.S. and British militaries frequently swapped slang terms during
    the war (see kluge and kludge for another important example) Period
    sources reported that `FOO' became a semi-legendary subject of WWII
    British-army graffiti more or less equivalent to the American Kilroy.
    Where British troops went, the graffito "FOO was here" or something
    similar showed up. Several slang dictionaries aver that FOO probably
    came from Forward Observation Officer, but this (like the
    contemporaneous "FUBAR") was probably a backronym . Forty years later,
    Paul Dickson's excellent book "Words" (Dell, 1982, ISBN 0-440-52260-7)
    traced "Foo" to an unspecified British naval magazine in 1946, quoting
    as follows: "Mr. Foo is a mysterious Second World War product, gifted
    with bitter omniscience and sarcasm."

    Earlier versions of this entry suggested the possibility that hacker
    usage actually sprang from "FOO, Lampoons and Parody", the title of a
    comic book first issued in September 1958, a joint project of Charles
    and Robert Crumb. Though Robert Crumb (then in his mid-teens) later
    became one of the most important and influential artists in underground
    comics, this venture was hardly a success; indeed, the brothers later
    burned most of the existing copies in disgust. The title FOO was
    featured in large letters on the front cover. However, very few copies
    of this comic actually circulated, and students of Crumb's `oeuvre' have
    established that this title was a reference to the earlier Smokey Stover
    comics. The Crumbs may also have been influenced by a short-lived
    Canadian parody magazine named `Foo' published in 1951-52.

    An old-time member reports that in the 1959 "Dictionary of the TMRC
    Language", compiled at TMRC, there was an entry that went something
    like this:

    FOO: The first syllable of the sacred chant phrase "FOO MANE PADME
    HUM." Our first obligation is to keep the foo counters turning.

    (For more about the legendary foo counters, see TMRC.) This
    definition used Bill Holman's nonsense word, only then two decades old
    and demonstrably still live in popular culture and slang, to a ha ha
    only serious analogy with esoteric Tibetan Buddhism. Today's hackers
    would find it difficult to resist elaborating a joke like that, and it
    is not likely 1959's were any less susceptible. Almost the entire staff
    of what later became the MIT AI Lab was involved with TMRC, and the word
    spread from there.

    Finally (and perhaps irrelevantly) a Russian correspondent reports
    that in mainstream Russian, "Foo" (or "Fu") is an interjection commonly
    used as a response to bad smell, bad taste, or other unpleasant
    sensatiion.




    From The Free On-line Dictionary of Computing (09 FEB 02) :

    foo

    /foo/ A sample name for absolutely anything,
    especially programs and files (especially scratch files).
    First on the standard list of metasyntactic variables used
    in syntax examples. See also bar, baz, qux, quux,
    corge, grault, garply, waldo, fred, plugh,
    xyzzy, thud.

    The etymology of "foo" is obscure. When used in connection
    with "bar" it is generally traced to the WWII-era Army slang
    acronym FUBAR, later bowdlerised to foobar.

    However, the use of the word "foo" itself has more complicated
    antecedents, including a long history in comic strips and
    cartoons.

    "FOO" often appeared in the "Smokey Stover" comic strip by
    Bill Holman. This surrealist strip about a fireman appeared
    in various American comics including "Everybody's" between
    about 1930 and 1952. FOO was often included on licence plates
    of cars and in nonsense sayings in the background of some
    frames such as "He who foos last foos best" or "Many smoke but
    foo men chew".

    Allegedly, "FOO" and "BAR" also occurred in Walt Kelly's
    "Pogo" strips. In the 1938 cartoon "The Daffy Doc", a very
    early version of Daffy Duck holds up a sign saying "SILENCE IS
    FOO!". Oddly, this seems to refer to some approving or
    positive affirmative use of foo. It has been suggested that
    this might be related to the Chinese word "fu" (sometimes
    transliterated "foo"), which can mean "happiness" when spoken
    with the proper tone (the lion-dog guardians flanking the
    steps of many Chinese restaurants are properly called "fu
    dogs").

    Earlier versions of this entry suggested the possibility that
    hacker usage actually sprang from "FOO, Lampoons and Parody",
    the title of a comic book first issued in September 1958, a
    joint project of Charles and Robert Crumb. Though Robert
    Crumb (then in his mid-teens) later became one of the most
    important and influential artists in underground comics, this
    venture was hardly a success; indeed, the brothers later
    burned most of the existing copies in disgust. The title FOO
    was featured in large letters on the front cover. However,
    very few copies of this comic actually circulated, and
    students of Crumb's "oeuvre" have established that this title
    was a reference to the earlier Smokey Stover comics.

    An old-time member reports that in the 1959 "Dictionary of the
    TMRC Language", compiled at TMRC there was an entry that
    went something like this:

    FOO: The first syllable of the sacred chant phrase "FOO MANE
    PADME HUM." Our first obligation is to keep the foo counters
    turning.

    For more about the legendary foo counters, see TMRC. Almost
    the entire staff of what became the MIT AI LAB was
    involved with TMRC, and probably picked the word up there.

    Another correspondant cites the nautical construction
    "foo-foo" (or "poo-poo"), used to refer to something
    effeminate or some technical thing whose name has been
    forgotten, e.g. "foo-foo box", "foo-foo valve". This was
    common on ships by the early nineteenth century.

    Very probably, hackish "foo" had no single origin and derives
    through all these channels from Yiddish "feh" and/or English
    "fooey".

    [{Jargon File]

    (1998-04-16)
    [Mr. T voice] Shut up foo [/Mr. T voice]
    Try not.
    Do or do not.
    There is no try.

    - Master Yoda

  11. #11
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    did you quote that whole thing just so your post wouldn't be a one liner????
    I think this is the longest thread i've seen with only 10 posts, wow.
    PHP and XML
    Let's talk about SAX

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Recursive Function
    By Codedecode in forum C++ Programming
    Replies: 5
    Last Post: 06-07-2008, 02:14 AM
  2. array -- foo, &foo and &foo[0]
    By George2 in forum C Programming
    Replies: 9
    Last Post: 08-14-2007, 01:22 PM
  3. anyone here hate when foo bar baz is used in example code?
    By shintaro in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 09-26-2006, 07:07 AM
  4. Couple of Q's.....
    By oobootsy1 in forum C++ Programming
    Replies: 18
    Last Post: 02-23-2004, 02:03 PM
  5. x = foo();
    By HoundEYE in forum C++ Programming
    Replies: 2
    Last Post: 04-13-2003, 09:41 PM