TLDR Web Dev · MISCELLANEOUS
WHAT IS THE HISTORY OF THE USE OF "FOO" AND "BAR" IN SOURCE CODE EXAMPLES?
Summary from the TLDR Web Dev newsletter
The terms "foo" and "bar" in code examples originated from the WWII military acronym "FUBAR" (F**ked Up Beyond All Recognition). The popularity of "foo" and "bar" in code likely stems from their association with this military jargon.