• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

What does FOO stand for?

 
Ranch Hand
Posts: 336
Firefox Browser Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've seen that many books use the word foo to represent many examples. I wonder what the word foo default by means, or do not mean anything.

Thank you in advance.
 
lowercase baba
Posts: 13089
67
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I believe it comes from the term "FUBAR", which is a common term for "F***ed Up Beyond All Repair".

it is pronounced as "foobar", and i guess just evolved into the two common methods of "foo" and "bar"
 
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think it's from the second world war when the germans used to say "Furchbar" meaning terrible and awful.
The americans understood foo bar and somehow it became a trend.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
http://en.wikipedia.org/wiki/Foobar
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
foo, bar, baz, plugh, xyzzy, etc. are all metasyntactic variables. (Although the Wikipedia article, inexplicably, has an entry for xyzzy and not plugh.)
 
Milton Ochoa
Ranch Hand
Posts: 336
Firefox Browser Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you for the aclaration!
 
Rancher
Posts: 4803
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
While this has some meaning, its more a candidate for MD.

David Newton wrote:foo, bar, baz, plugh, xyzzy, etc. are all metasyntactic variables. (Although the Wikipedia article, inexplicably, has an entry for xyzzy and not plugh.)



For sure. While the Wikipedia article mentions foo, and cites Don Eastlake's April Fools RFC, even that shorts the history. See the Jargon file, I've got put a fairly old copy (~vintage early 80s) at http://pfarrell.com/technotes/jarg1-81-MM-DD.txt

Its all out of MIT, which spun off most of (many?) the 60s and 70s computer companies near Boston. DEC (aka Digital Equipment) was home to a lot of serious hardware used for critical development of operating systems, so many of the folks at DEC were from MIT, bringing 'foo' and "bar" with them. Clearly the original meaning was from the Army's fubar, and its likely that many of the pioneers were GI Bill army folks at MIT, Harvard, UMass, and other Boston schools. Most of the early uses in the computer field used "foo", "bar" and "baz". in various combinations.

Interestingly that the Wikipedia article also fails to make the obvious jump into business schools, where nearly all cases talk about making Widgets, or Widget Corp. which are similarly metasyntactic nouns.
 
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
this question was asked before in another forum!
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Monu Tripathi wrote:this question was asked before in another forum!


Should we have an FAQ entry for it?
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mmm, the jargon file brings back *so* many memories.
 
Hey cool! They got a blimp! But I have a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic