DEV Community

Cover image for What is 'foo' 'bar' REALLY?
OpenSource for Webcrumbs

Posted on

What is 'foo' 'bar' REALLY?

I decided to look it up.

So... during World War II, soldiers in the trenches and barracks faced really chaotic situations, for obvious reasons.

To cope, they developed their own slang, full of dark humor.

One term that became particularly popular was "FUBAR," which they used to describe situations that were completely and hopelessly messed up.

Alan Turing knew this term.

When he was leading the team at Bletchley Park to crack the German Enigma code, Turing and his colleagues often found incredibly annoying problems.

Whenever a machine malfunctioned or a code proved exceptionally difficult, they'd say it was "FUBAR."

This use of humor helped maintaining good climate in hard situations.

Years later, early computer scientists like Bob Bemer began using "foo" and "bar" as placeholders in their examples, unknowingly echoing Turing’s approach to make fun when under pressure.

And what does "FUBAR" really stand for?

The soldiers’ slang was much less sanitized:

"F**ked Up Beyond All Recognition."

So when we use foo and bar that's what we're referring to!

I didn't know it before today.

Did you?

Join me on Discord if you feel like!

Top comments (2)

Collapse
 
best_codes profile image
Best Codes

Hmm, I guess I won't be using that example anymore! 😅

I did not know. Thanks for writing!

Collapse
 
jennavisions profile image
Jenna

Never thought foo bar would have such history 😮😅