翻訳と辞書
Words near each other
・ Food defense
・ Food dehydrator
・ Food Democracy Now!
・ Food desert
・ Foo Hai Ch'an Monastery
・ Foo Kok Keong
・ Foo Lake
・ Foo Mee Har
・ Foo Pass
・ Foo Swee Chin
・ Foo Tye Sin
・ Foo Wan Kien
・ Foo was here
・ Foo-foo
・ Foo?
Foobar
・ Foobar2000
・ FooBillard
・ Fooblitzky
・ Foochow Arsenal
・ Foochow College
・ Foochow Mission Cemetery
・ Foochow Romanized
・ Foochowese
・ FOOD
・ Food
・ Food & Friends
・ Food & Fuel Pubs
・ Food & History
・ Food & Water Watch


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Foobar : ウィキペディア英語版
Foobar

The terms foobar (), fubar, or foo, bar, baz and qux (alternatively, quux) and sometimes norf〔http://www.vidyokarma.com/article.php?c=R-programming-language&page=1〕〔http://rstudio-pubs-static.s3.amazonaws.com/43080_1d7db6d9f7044c8bae0e6a7f90c563cc.html〕〔http://mathalope.co.uk/2015/03/08/swirl-r-programming-lesson-6-subsetting-vectors/〕〔http://www.perlmonks.org/?node_id=1116433〕 and many others〔http://www.dourish.com/goodies/jargon.html〕〔http://www.catb.org/jargon/html/M/metasyntactic-variable.html〕 are sometimes used as placeholder names (also referred to as metasyntactic variables) in computer programming or computer-related documentation.〔 They have been used to name entities such as variables, functions, and commands whose exact identity is unimportant and serve only to demonstrate a concept. The words themselves have no meaning in this usage. ''Foobar'' is sometimes used alone; ''foo'', ''bar'', and ''baz'' are sometimes used, when multiple entities are needed.
The usage in computer programming examples and pseudocode varies; in certain circles, it is used extensively, but many prefer descriptive names, while others prefer to use single letters. Eric S. Raymond has called it an "important hackerism" alongside kludge and cruft.
== History and etymology ==

The word ''foo'' originated as a nonsense word from the 1930s, the military term FUBAR emerged in the 1940s, and the use of ''foo'' in a programming context is generally credited to the Tech Model Railroad Club (TMRC) of MIT from circa 1960. However, the precise relationship of these terms is not known with certainty, and several anecdotal theories have been advanced to identify them.
The etymology of ''foo'' is explored in the Internet Engineering Task Force (IETF) RFC 3092, which gives the earliest documented use as being in the 1930s comic ''Smokey Stover'' by Bill Holman, where it is used as a nonsense word.〔http://catb.org/jargon/html/F/foo.html foo〕〔http://catb.org/jargon/html/index.html〕 Holman states that he used the word due to having seen it on bottom of a jade Chinese figurine in Chinatown, San Francisco, meaning "good luck".〔http://www.smokey-stover.com/history.html〕〔(smokey-stover.com )〕〔http://members.aol.com/EOCostello/〕 This is presumably as a transliteration of the fu character (Mandarin: fú, Cantonese: fuk1, 福), which is a common character for fortune, and figurines of the trio of eponymous male "star gods" ''Fú, Lù, Shòu'' (Cantonese: fuk1 luk6 sau6, 福祿壽) are common in Chinese communities; compare Fu Manchu, fictional character popular in the 1930s. ''Smokey Stover'' ran 1935–73, and continued to feature ''foo'' prominently, as on the front of the "foomobile" illustrated in the cover at right. The word ''foo'' became very popular in the 1930s, and also appeared in other cartoons including the ''Looney Tunes'' cartoons of Bob Clampett such as ''The Daffy Doc'' and ''Porky in Wackyland'' (both 1938, with Daffy Duck and Porky Pig), and in other comic strips such as ''Pogo''.
From there, the Foo migrated into military slang, merged with "FU" of the FUBAR. The term ''foo fighter'' was used by Allied aircraft pilots in World War II to describe various UFOs or mysterious aerial phenomena.
The first known use of the terms in print in a programming context appears in a 1965 edition of MIT's Tech Engineering News. ''Foobar'' may have come about as a result of the pre-existing "Foo" being conjoined with "bar" an addition borrowed from the military's FUBAR. The use of ''foo'' in hacker and eventually in programming context may have begun in MIT's Tech Model Railroad Club (TMRC). In the complex model system, there were scram switches located at numerous places around the room that could be thrown if something undesirable was about to occur, such as a train going full-bore at 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 'foo mane padme hum.' Our first obligation is to keep the foo counters turning."〔, computer-dictionary-online.org〕 One book describing the MIT train room describes two buttons by the door: labeled foo and bar. These were general purpose buttons and were often re-purposed 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:〔(【引用サイトリンク】title=Abridged Dictionary of the TMRC Language )
The term ''foobar'' was propagated through computer science circles in the 1960s and early 1970s by system manuals from Digital Equipment Corporation. ''Foobar'' was also 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".

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Foobar」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.