- Foobar
The term foobar is a common
placeholder name , also referred to as "metasyntactic variable ", used incomputer programming or computer-related documentation.In technology, the word was probably originally propagated through system manuals by
Digital Equipment Corporation in 1960s and early 1970s. Another possibility is that foobar evolved from electronics, as an invertedfoo signal. 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. TheJargon File makes a case that "foo" possibly predates "FUBAR " [ [http://www.catb.org/jargon/html/F/foobar.html The Jargon File] ] .Examples
The term foobar or foo and bar separately are very often used in programming examples, much like the
Hello World program 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".ee also
*
Placeholder name
*bar
*foo
*Alice and Bob
*Lorem ipsum
*FUBAR
*foobar2000
*Foo fighter ources
External links
* [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.