Foobar - History and Etymology

History and Etymology

The origins of the terms are not known with certainty, and several anecdotal theories have been advanced to identify them. The first known use of the terms in print appear in a 1965 edition of MIT's "Tech Engineering News." Foobar may have derived from the military acronym FUBAR and gained popularity because it is pronounced the same.

The etymology of foo is explored in the Internet Engineering Task Force (IETF) RFC 3092, which notes usage of foo in 1930s cartoons including The Daffy Doc (with Daffy Duck) and comic strips, especially Smokey Stover and Pogo. From there, the term migrated into military slang, where it merged with FUBAR. The term foo fighter was used by Allied aircraft pilots in World War II to describe various UFOs or mysterious aerial phenomena.

The use of foo in hacker and eventually in programming context may have begun in MIT's Tech Model Railroad Club (TMRC). In the complex model system, there were scram switches located at numerous places around the room that could be thrown if something undesirable was about to occur, such as a train going full-bore at an obstruction. Another feature of the system was a digital clock on the dispatch board. When someone hit a scram switch the clock stopped and the display was replaced with the word "FOO"; at TMRC the scram switches are therefore called "Foo switches". Because of this, an entry in the 1959 Dictionary of the TMRC Language went something like this: "FOO: The first syllable of the misquoted sacred chant phrase 'foo mane padme hum.' Our first obligation is to keep the foo counters turning."

One book describing the MIT train room describes two buttons by the door: labelled foo and bar. These were general purpose buttons and were often re-purposed for whatever fun idea the MIT hackers had at the time, hence the adoption of foo and bar as general purpose variable names.

The term foobar was propagated through computer science circles in the 1960s and early 1970s by system manuals from Digital Equipment Corporation.

Foobar was used as a variable name in the Fortran code of Colossal Cave Adventure (1977 Crowther and Woods version). The variable FOOBAR was used to contain the player's progress in saying the magic phrase "Fee Fie Foe Foo".

Read more about this topic:  Foobar

Famous quotes containing the words history and, history and/or etymology:

    History and experience tell us that moral progress comes not in comfortable and complacent times, but out of trial and confusion.
    Gerald R. Ford (b. 1913)

    These anyway might think it was important
    That human history should not be shortened.
    Robert Frost (1874–1963)

    Semantically, taste is rich and confusing, its etymology as odd and interesting as that of “style.” But while style—deriving from the stylus or pointed rod which Roman scribes used to make marks on wax tablets—suggests activity, taste is more passive.... Etymologically, the word we use derives from the Old French, meaning touch or feel, a sense that is preserved in the current Italian word for a keyboard, tastiera.
    Stephen Bayley, British historian, art critic. “Taste: The Story of an Idea,” Taste: The Secret Meaning of Things, Random House (1991)