Skip to main content
foobar

foobar

9.8
A simple name in computer examples that stands for a value
  • noun
  • /ˈfuːbɑːr/
  • Jargon
translation icon : foobar
  • In the documentation, foobar serves as an example to demonstrate how functions can be named.

Examples

  • Let's say that your username is "foobar" and you belong to a group named "users."

    Blog text (32)
  • When learning to code, many examples use foobar to help illustrate concepts without specific meanings.

  • In programming tutorials, the term foobar is often used as a generic placeholder for variable names.

Synonyms

foo
vsfoobar
  • Jargon
22 9.9

A simple name used as an example in computer code

is used in both programming examples and in written technical documentation
placeholder name
vsfoobar
6.0

A name used temporarily for a person or thing when the real name is unknown

is focused on computer programming examples and on related documentation

Surface Forms

foobar singular
foobars plural

Etymology

Foobar started as a pair of silly example names, foo and bar, that programmers used like blank names in code. So when you see foobar in a tutorial it simply 'stands for' any value.