Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Foobar
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== History and etymology == It is possible that ''foobar'' is a playful [[allusion]] to the [[World War II]]-era military slang [[List of military slang terms#FUBAR|FUBAR]] (''fucked up beyond all recognition)''.<ref name="dictionary">{{Cite web|url=https://www.dictionary.com/e/foo/|title=What does foo mean?|publisher=[[Dictionary.com]]|access-date=2019-08-17}}</ref> According to a [[Request for Comments|RFC]] from the [[Internet Engineering Task Force]], the word FOO originated as a [[nonsense word]] with its earliest documented use in the 1930s comic ''[[Smokey Stover]]'' by [[Bill Holman (cartoonist)|Bill Holman]].<ref name="rfc30922">{{cite web|last1=Eastlake|first1=D|last2=Manros|first2=C|last3=Raymond|first3=E|title=Etymology of "Foo"|url=http://www.ietf.org/rfc/rfc3092.txt|website=The Internet Engineering Task Force|accessdate=17 April 2016}}</ref> Holman states that he used the word due to having seen it on the bottom of a jade Chinese figurine in [[Chinatown, San Francisco|San Francisco Chinatown]], purportedly signifying "good luck".<ref>{{Cite web|url=https://www.smokey-stover.com/history.html|title=The History of Bill Holman|date=2007-06-13|publisher=[[Smokey Stover]]|access-date=2019-08-17}}</ref> If true, this is presumably related to the Chinese word ''[[Fu (character)|fu]]'' ("{{lang|zh|η¦}}", sometimes transliterated ''foo'', as in ''[[Chinese guardian lions|foo dog]]''), which can mean ''happiness'' or ''blessing''.<ref>Mieke Matthyssen, "Chinese happiness: A proverbial approach to popular philosophies of life", p. 190, ch. 9 in, Gerda Wielander, Derek Hird (eds), ''Chinese Discourses on Happiness'', Hong Kong University Press, 2018 {{ISBN|9888455729}}.</ref> The first known use of the terms in print in a programming context appears in a 1965 edition of MIT's ''[[Tech Engineering News]]''.<ref>{{cite book|url=https://books.google.com/books?id=aOQRAQAAMAAJ&q=foobar|title=Tech Engineering News|volume=47|year=1965|publisher=[[Massachusetts Institute of Technology]]|page=63|quote=Further, it is possible to search for an effective address; e.g., if an instruction such as "add 1 foo" were used, specifying indirect addressing thru location "foo", and location "foo" contained the address of location "foobar", then an effective word search for "foobar" would find location "foo" and the location containing the "add" instruction as well.}}</ref> The use of ''foo'' in a programming context is generally credited to the [[Tech Model Railroad Club]] (TMRC) of [[Massachusetts Institute of Technology|MIT]] from {{circa|1960}}.<ref name="rfc3092" /> In the complex model system, there were [[scram]] switches located at multiple places around the room that could be thrown if something undesirable was about to occur, such as a train moving at full power towards 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 '[[Om mani padme hum|foo mane padme hum]].' Our first obligation is to keep the foo counters turning."<ref>{{cite web|url=https://www.computer-dictionary-online.org/definitions-f/foo.html|title=Computer Dictionary Online}}, computer-dictionary-online.org</ref> One book{{which|date=November 2010}} describing the MIT train room describes two buttons by the door labeled "foo" and "bar". These were general-purpose buttons and were often repurposed for whatever fun idea the MIT hackers had at the time, hence the adoption of foo and bar as general-purpose variable names. An entry in the ''Abridged Dictionary of the TMRC Language'' states:<ref>{{cite web|url=http://tmrc.mit.edu/dictionary.html#FOO|title=Abridged Dictionary of the TMRC Language|publisher=Tech Model Railroad Club of [[MIT]]|access-date=2013-03-12|archive-url=https://web.archive.org/web/20180102215225/http://tmrc.mit.edu/dictionary.html#FOO|archive-date=2 January 2018|url-status=dead}}</ref> {{Blockquote|text = Multiflush: stop-all-trains-button. Next best thing to the red door button. Also called FOO. Displays "FOO" on the clock when used.}} ''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", a phrase from an historical quatrain in the classic English fairy tale [[Fe-fi-fo-fum|Jack and the Beanstalk]]. [[Intel]] also used the term ''foo'' in their programming documentation in 1978.<ref name="Intel_1978_MSC86-OI"/>
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Foobar
(section)
Add topic