Noun
(slang) A serious mistake.
(programming) A metasyntactic variable name, a place holder for words; compare foo, bar.
Source: en.wiktionary.orgClearly, bar was the original, for the concatenation FOOBAR is widely used also, and this in turn can be traced to the obscene acronym ' FUBAR ' that arose in the armed forces during World War II. Source: Internet
Foobar was also used as a variable name in the Fortran code of Colossal Cave Adventure (1977 Crowther and Woods version). Source: Internet