ARCHIVED: What do foo and bar mean?

This content has been archived, and is no longer maintained by Indiana University. Resources linked from this page may no longer be available or reliable.

In the world of computer programming, "foo" and "bar" are commonly used as generic examples of the names of files, users, programs, classes, hosts, etc. Thus, you will frequently encounter them in manual (man) pages, syntax descriptions, and other computer documentation.

The etymologies of these terms are unclear, but when considered together they are generally thought to derive from the word "foobar". Foobar, in turn, may be related to FUBAR, the acronym for a less polite version of "Fouled Up Beyond All Recognition" (or "Repair"). The Jargon File, a widely circulated public-domain dictionary of computer-related slang, discusses these and other terms in detail.

This is document aetq in the Knowledge Base.
Last modified on 2018-01-18 12:23:48.

Contact us

For help or to comment, email the UITS Support Center.