Introductory programming courses usually start with an example program called “$g(Hello World).” Hello World uses variables named “foo” and “bar.”
Innocent syllables? Not.
Foo and bar come from $d(FUBAR), an old military term meaning F—– Up Beyond All Repair.
So nearly every intro computer science textbook hurls an expletive at new students.
And now you know the rest of the story.