It is possible that foobar is a playful allusion to the World War II-era military slang FUBAR (fucked up beyond all recognition)
[...]
The first known use of the terms in print in a programming context appears in a 1965 edition of MIT's Tech Engineering News. The use of foo in a programming context is generally credited to the Tech Model Railroad Club (TMRC) of MIT from c. 1960. [...] Because of this, an entry in the 1959 Dictionary of the TMRC Language went something like this: "FOO: The first syllable of the misquoted sacred chant phrase 'foo mane padme hum.' Our first obligation is to keep the foo counters turning."
[...]
Foobar was used as a variable name in the Fortran code of Colossal Cave Adventure (1977 Crowther and Woods version). [...] Intel also used the term foo in their programming documentation in 1978.
According to a RFC from the Internet Engineering Task Force, the word FOO originated as a nonsense word with its earliest documented use in the 1930s comic Smokey Stover by Bill Holman. Holman states that he used the word due to having seen it on the bottom of a jade Chinese figurine in San Francisco Chinatown, purportedly signifying "good luck". If true, this is presumably related to the Chinese word fu ("福", sometimes transliterated foo, as in foo dog), which can mean happiness or blessing.
[...]
One book describing the MIT train room describes two buttons by the door labeled "foo" and "bar". These were general-purpose buttons and were often repurposed for whatever fun idea the MIT hackers had at the time, hence the adoption of foo and bar as general-purpose variable names.
[...]
[Colossal Cave Adventure] The variable FOOBAR was used to contain the player's progress in saying the magic phrase "Fee Fie Foe Foo", a phrase from an historical quatrain in the classic English fairy tale Jack and the Beanstalk.
"It is seldom that liberty of any kind is lost all at once." ― David Hume
[^] # Re: Mots croises et petit journal
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse à la dépêche Le numéro 6 du Lama déchainé recycle, reconditionne et réemploie. Évalué à 5.
L’origine ? Multiples...
Ou la vraie signification ? On ne sait pas... tout et n’importe quoi...
"It is seldom that liberty of any kind is lost all at once." ― David Hume