Why are many of the names in the examples foo or bar?
What is the meaning of these two words?
Reply content:
Why are many of the names in the examples foo or bar?
What is the meaning of these two words?
These two words really have an RfC as authoritative explanation: RfC 3092:etymology of "Foo"
"FOOBAR" from the World War II swearing fubar (Fucked up Beyond all Repair, a mess) homophonic.
The computer science community then takes the word apart, expressing the variable name as a label, without actual meaning, and the conventional Foo and bar represent the first and second labels.
(Hint: There is a dark pit in this answer)
See Wikipedia Https://zh.wikipedia.org/wiki/Foobar
For more details, refer to this Http://stackoverflow.com/questions/4868904/what-is-the-origin-of-foo-and-bar
This was learned with a bad boy.
The English word foo, different dictionaries to its interpretation is far from, one said from China "Fu" the pronunciation of the word, but also explained as a weapon in World War Ii. But if we put a lot of explanations in the field of programming, the Foobar is the most pertinent explanation I think. Foobar again for Foo-bar, where bar is beyond all recognition abbreviation, popular point is not recognized, a mess of meaning.