This is an old revision of this page, as edited by 212.185.249.xxx (talk) at 15:26, 26 November 2001 (link to fugazi). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Revision as of 15:26, 26 November 2001 by 212.185.249.xxx (talk) (link to fugazi)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)The word foobar originates in the World War II American Army slang word fubar, which is an abbreviation of "Fucked up beyond all recognition" (describing a very bad situation, e.g., a plan that went wrong) or "... beyond all repair" (for machinery that was destroyed). Fubar was most probably influenced by the German word furchtbar which means terrible or awful.
Later, fubar was changed to foobar, probably by merging it with the word foo, which is a general term of disgust and probably originates in the chinese word "fu" (or "foo" 福), meaning happiness.
Today, foobar is also used as a dummy test word in many descriptions and tutorials of programming languages, where it serves as an example text, e.g., for the division of a string into foo and bar (see metasyntactic variable). Foobar is also used in another form, fugazi, which supposedly resembles a Vietnamese word. Except from the military and computer sciences, the word foobar was never very common until used in the movie Saving Private Ryan (1998).