The term foobar is a common
placeholder name, also referred to as " metasyntactic variable", used in computer programmingor computer-related documentation.
In technology, the word was probably originally propagated through system manuals by
Digital Equipment Corporationin 1960s and early 1970s. Another possibility is that foobar evolved from electronics, as an inverted foosignal. This is because if a digital signal is active low (so a negative or zero-voltage condition represents a "1") then a horizontal bar is commonly placed over the signal label. The Jargon Filemakes a case that "foo" possibly predates " FUBAR" [ [http://www.catb.org/jargon/html/F/foobar.html The Jargon File] ] .
The term foobar or foo and bar separately are very often used in programming examples, much like the
Hello Worldprogram is commonly used as an introduction.
Here is an example of how foo and bar might be used to illustrate a simple string concatenation:
An early example of foobar being used in a famous program is its use 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".
*Alice and Bob
* [http://www.catb.org/~esr/jargon/html/F/foobar.html The Jargon File entry on foobar]
*RFC 3092 - Origin and usage of "foobar"
* [http://www.foobar2000.org/ Foobar2000 is an advanced audio player for the Windows platform]
*RFC 1639 - FTP Operation Over Big Address Records (FOOBAR)
Wikimedia Foundation. 2010.