Opentopia Directory Encyclopedia Tools

Foobar

Encyclopedia : F : FO : FOO : Foobar



 

Foobar is a common placeholder name used in computer programming. It has been described as "the association of two metasyntactic variables: foo and bar". These variables are often used in computer programming examples.

Etymology

Most likely, "foo" and "bar" were derived from "foobar", which in turn had its origins in the military slang acronym FUBAR (q.v.). There is some support for the idea that the "foo" part of the word predated "FUBAR".

It is also possible that foobar is a phonological interpretation of the first letters of the Runic alphabet. Like Qwerty and Abcde, this expression might have attracted various computer programmers. In a museum at Aarhus, there is a large wooden bar with the runic enscription f u þ a r, where fu is pronounced like foo. However, the letter þ is actually pronounced like an unvoiced th, not a b (hence the name Futhark for the Runic alphabet).#redirect [[Template:fact]].

External links

 


From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.


Search Titles
0123456789
ABCDEFGHIJ
KLMNOPQRST
UVWXYZ?

E-mail this article to:

Personal Message: