By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,798 Members | 1,349 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,798 IT Pros & Developers. It's quick & easy.

Foobar?

P: n/a
what do the words 'foo' and 'foobar' mean?
Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Nick wrote:
what do the words 'foo' and 'foobar' mean?


foo is short for foobar. also shows up as the front of
a genericfilename standin, such as foo.bar.

foobar is a humorous intentional misspelling of FUBAR

FUBAR is a military acronym for FUCKED UP BEYOND ALL RECOGNITION

- nate

Jul 17 '05 #2

P: n/a
"Nick" <gr************@cox.net> wrote in message news:<Ashpb.134664$gv5.60493@fed1read05>...
what do the words 'foo' and 'foobar' mean?


You should check out
Etymology of "Foo": http://www.ietf.org/rfc/rfc3092.txt
and
http://info.astrian.net/jargon/terms..._variable.html

It's actually an amusing read-- foo, foobar, baz, quux, etc are all
just dummy variables you use when descriptive names aren't useful--
like:

// Demonstrate difference between prefix and postfix ++ operator
int foo=0, bar=0;
int quux = foo++ + ++bar;
System.out.println("quux=" + quux);

You shouldn't use foo/bar/quux in production code-- use a descriptive
name.
Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.