September 2026
Ode to Foobar
Every computer science student encounters foobar sooner or later in their education. Usually without any preamble or explanation of convention, foobar or foo is written on blackboards, used in examples, and appears in textbooks. Probably as something like this, from K-State’s Introduction to Python:
1def foo():
2 print("eye")
3
4
5def bar():
6 print("to")
7
8
9foo()
10bar()
11foo()
And the thing is, like so many other things in higher education, nobody ever explains what foobar means. Rarer still, nobody thinks to ask. Students just seem to acquire it implicitly, or just accept it as a fact of the foo-niverse.
I heard foobar for the first time when I was auditing CSCI S-7 at Harvard Summer School taught by Henry Leitner. In a class where he was introducing the concept of an algorithm, he handed a student in the front row a dictionary and asked him to search for foobar. Of course, he didn’t find it, and it prompted a lesson on approaches to search. I wrote down foobar?? in the corner of my notes, and didn’t think about it much until I sat down to write this blog post.
But I’ve had an epiphany and I need to share with you what’s been revealed to me. I want to make something absolutely, explicitly clear, without any hint of ambig-foo-ity. I love foobar. It’s a goofy, sweet word. It could be a fat golden retriever’s name (with potential nicknames Fooby or Boofy). It could be a muppet. It could be a beloved family nickname, perhaps given by a toddler-age sibling who couldn’t pronounce something like Robert or Theodore quite correctly. “Oh, my folks call me Foobar. It’s a long story.”

What I have gathered for you here today is the ultimate celebration of foobar and its meronym, foo. I have chosen to foo-cus on (rough) homophones rather than a strict adherence to spelling or direct relation to CS. Consequently, I have excluded foo [ˈɸɔː] (“in, inside”) in Murui Huitoto, phở [fəː˧˩] in Vietnamese, and English words like fool, foosball, or futon. Because Fu/Foo is a very common last name, I have only included a few famous Fu/Foo/Fous, especially those whose work I admire.
So here’s some foo-d for thought, and foo-sic for the soul. For the optimal experience, listen to Canon in Foo while you browse.
The sacred syllable
FOO: the sacred syllable (FOO MANI PADME HUM); to be spoken only when under inspiration to commune with the Deity. Our first obligation is to keep the Foo Counters turning.
Peter Samson · TMRC, 1959
Canon in Foo
fubar.com
Fubar, billed as the “first online bar and happy hour” is the fastest growing social network, having increased its traffic by 3,272,217% over the 12 months to the end of February 2008.
TechCrunch · 2008All of the other nonsense placeholder conventions (“metasyntactic variables”) don’t seem to have the same je ne sais foo, if you know what I mean. Here’s a short list of examples: baz, qux, xyzzy, corge, grault, garply, waldo, fred, plugh, thud, dummy. To my ear, these all sound kind of dull or ungraceful, while foobar seems to roll off the tongue.
.foo
Secure domains for developers and technology lovers … When you’re programming, change is constant. You can use .foo for everything and anything.
Google Registry
Fu & SuFu
FUBAR
/* Failed UNIBUS Address Register, FUBAR */ #define FUA 0xffff /* Failed UNIBUS Address Field */
TUHS · 4BSD, 1980Foobar has a tantalizing mystery about it. Nobody knows exactly where it began. The earliest foo appeared in the Smokey Stover comics in the 1930s. Then WWII gave us FUBAR, which I won’t spell out for you here. And from 1959 on, it entered computing and hacker culture, the apotheotic example coming from the Tech Model Railroad Club’s dictionary at MIT, which calls FOO “the sacred syllable” and declares, “Our first obligation is to keep the Foo Counters turning.” For a more detailed etymology of foobar, see RFC 3092, published on April 1st, 2001 (foo-thousand-one).
The real reason we can’t seem to identify the true ur-foo is that foo is ubiquitous across languages. The consonant /f/ occurs in about 44% of languages, and /u/ in about 88% (PHOIBLE). If a language happens to have both, it’s a relatively unremarkable syllable. English, Scots, French, Mandarin, and Spanish all have some variation of /fu/. In Mandarin, with respect to tone, fu can mean husband/man (夫 fū), woman/wife (妇 fù), skin (肤 fū), good fortune (福 fú), clothing (服 fú), mansion/government office (府 fǔ), rotten (腐 fǔ), rich (富 fù), to float (浮 fú), to serve (服 fú), to carry/to lose (负 fù), to return (复 fù).
FOO was here
Period sources reported that ‘FOO’ became a semi-legendary subject of WWII British-army graffiti more or less equivalent to the American Kilroy. Where British troops went, the graffito “FOO was here” or something similar showed up. Several slang dictionaries aver that FOO probably came from Forward Observation Officer.
The Jargon File

FooBar
FooBar was our first house rabbit. He was born on June 24, 1990, and he came into our lives in August of 1990. He spent seven and a half wonderful years here with us and his friends Zowie, Zippy, and Izzy.
Paige K Parsons · House Rabbit SocietyIt was just the time that someone combined it with bar in English that we were really cooking with fire. I’ll show you: let’s talk about the foo-netics of foobar. I’m going to focus specifically on General American English, because that’s the dialect I’m most familiar with.
Foobar is pronounced [ˈfuˌbɑɹ], with primary stress on the first syllable and a secondary stress on the second. This is common in compound words like blackbird, classmate, or hotdog. Neither of the vowels reduce (to something like [ˈfubɚ], weird), and therefore it really does behave like the fuse of foo and bar. Both starting consonants /f/ and /b/ are labial, and the vowel sounds transition nicely from high back rounded [u] to low back unrounded [ɑ], almost like it was always meant to be said. Foobar…

FOOBAR
I found out this year the state won’t allow FOOBAR on a vanity plate! They confuse it with FUBAR.
David Brooks · Granite Geek, 2019
Foobar Pro
This is the cool and stylish relative to Familiar Pro. Like a cousin. Or perhaps a second cousin twice removed. Because parts of the letters are removed, see...
Cheap ProFontsAdditionally, the graphetics of foobar are incredibly pleasant. It looks like it could be a naturally occurring word. Unlike my previous examples of xyzzy or qux, it has a shape shared by many common English words. It goes: consonant, vowel cluster, consonant, vowel, consonant. There’s no weird clusters, no end-of-the-alphabet oddballs like x, y, or z. Could phoobar have been as famous? Could fuhbahr?
I think these linguistic properties contribute greatly to the memetic signi-foo-cance of foobar, especially in nerd world. It’s become a kind of cultural touchstone, almost an easter egg. And it’s kind of beautiful as well, because as a junk variable, foobar refers to nothing, but to us, foobar means everything.
Every time you define a variable as foo, know that you are participating in a decades-old practice with a rich linguistic and cultural history. If you are new to Computer Science, I hope that this knowledge guides you on your journey. If you are an old-timer, take a moment to tell your juniors a bit about the history of foobar. It’s not a word in the Merriam-Webster dictionary (the exact book Henry Leitner tore in half to explain binary search), but it’s written 4 million times on GitHub, in the archives of Usenet, and across all of our hearts.
blog post over, only foos below

Similarly, the FOO fragment dipole moments provide an upper bound to the ENS dipoles.
Zhang & Wasserman · J. Chem. Phys., 2022FOOBAR
FTP Operation Over Big Address Records (FOOBAR)
This paper describes a convention for specifying longer addresses in the PORT command.
The Foo-Foo band
We sighted the Jennie Harkness, obviously American, at daylight right ahead in the S.E. trades; at noon we were alongside her, and our Foo-Foo band played "Yankee-Doodle" as we passed her.
Basil Lubbock · The Colonial Clippers, 1921Foo Foo Festival
A 19th century term, a “foo foo,” is a spontaneous band of musicians, especially on a sailing vessel. Foo Foo Fest organizers wanted to emulate the spontaneity of such a performance, providing Pensacola with a flurry of high-quality art and culture events to liven up the shoulder season here in the Pensacola Bay Area. Plus, it’s a cute name!
Visit Pensacolafo · /fɔː/
Middle English · noun (pl. fon, fos)
a foe, enemy or opponent: an enemy of the true religion; an enemy combatant; (Christianity) Satan, the enemy of mankind; a harmful or ruinous force
From the oblique stem of Old English ġefāh; ultimately Proto-West Germanic *faih 'hostile'; descendant: English foe
Wiktionary

Du Fu (Chinese: 杜甫; pinyin: Dù Fǔ; Wade–Giles: Tu Fu; 712 – 770) was a Chinese poet and government official of the Tang dynasty. Together with his older contemporary and friend Li Bai, he is one of the principal poets associated with Tang poetry.
WikipediaFOO
salesforce.com Inc.
ISIN: US79466L3024 | WKN: A0B87V | Symbol: FOO | Type: Equity
/ˌfufuˈɾufo/
Spanish (El Salvador, colloquial) · adj.
(colloquial, El Salvador) stuck-up, smug, conceited (syn. engreído, petulante)
Esa vieja fufurufa se cree más que los demás.That smug woman thinks she's better than everybody else.
Wiktionary
/niˌfu niˈfa/
Spanish · phrase (invariable adj.)
(colloquial, idiom) so-so, nothing special, nothing to write home about
WiktionaryFoobar versus the DEA
A top down scrolling shooter similar to Mars Rising and Demos Rising. You have a normal shot and bombs used to destroy enemies on land/in water.
Macintosh RepositoryFoobar Ltd.
11UK companies registered with Foobar in the name since 2010. 4 are still active.
Companies HouseFoobar LTD · Foobar Consulting · Foobar Engineering · Foobar Recruitment · Foobar IT · Foobar Training · Foobar Technology · Foobar Operations
Foobar, Reykjavík: “the long-term investment company of Icelandic entrepreneur and climate investor David Helgason.”
foobar.vcfoobar, Munich: “Enterprise Commerce & AI Partner in the DACH Region.”
foobar.agencyBrother Fubar
FUBAR: F***ed Up Beyond All Recognition/Repair. From US Military in World War II. Sometimes sanitized to "Fouled Up ...".
RFC 3092 · 2001foobar and FUBAR in books
FOOBAR
Foo E. Onya
And, coincidently, why SHOULD Mr. Onya take such pains to be unpleasent in print? … Does he think that any real lover of sci-fic gives a damn whether there is one less reader, especially a reader who crawls behind such a silly pseudonym as “Onya”?
Henry Hasse · Futuria Fantasia, Winter 1940
Foo Camp
Foo Camp is an annual hacker event hosted by publisher O'Reilly Media. The event started as a joke between Tim O'Reilly and Sara Winge, O'Reilly's VP of Corporate Communications. Sara had always wanted to run a foo bar, an open bar for Friends of O'Reilly, at one of O'Reilly's conferences.
WikipediaFoo Go
Foo Go was a brand of pre-packed sandwiches and other convenience food. Foo Go operated on a "zero waste" policy and has used water-based boards, inks, and coatings with packet windows made from cornstarch instead of the normal oil-based inks and plastic film to make the containers biodegradable.
WikipediaError code: FOO
FOO File open for output. Opening a file that was already opened for output was attempted.
RFC 1037 · 1987FooBaR
In particular, we discuss attacks against ReLU activation functions that make it possible to generate a family of malicious inputs, which are called fooling inputs, to be used at inference time to induce controlled misclassifications.
Breier, Hou, Ochoa & Solano · arXiv, 2021foocubus
foocubus (plural foocubi, derived from foo) refers to either one or both a pair of monsters that can be encountered in the dungeon: the incubus, &, and the succubus, &.
NetHack Wiki“Put the fubar on top.”
He taped a sign, "This thing is FUBAR", on the metal weight that sits on the stack of unread cards. The sign stayed there for over a year. One day, somebody said, "Don't forget to put the fubar on top of the stack". It stuck! We called that weight the fubar until they took away the machine.
FOLDOCfūfu · [ɸɯːɸɯ]
Japanese · noun
husband and wife; a married couple
夫婦喧嘩は犬も食わないEven a dog won’t eat a husband-and-wife quarrel. (Stay out of couples’ fights.)
fufufu · [ɸɯɸɯɸɯ]
Japanese · interj.
a soft, knowing chuckle; hehehe (often mischievous or smug)
FU Orionis

fou · /fu/
French · noun (m.)
(chess) bishop; also: madman; jester (court entertainer); (colloq.) nut, enthusiast
Un fou peut se déplacer sur n'importe quelle case le long d'une des diagonales sur lesquelles il se trouve.A bishop may move to any square along one of the diagonals on which it stands. (FIDE, Les règles du jeu d'échecs 2023)
Chess sense: from Spanish alfil, from Arabic al-fīl 'elephant; bishop', influenced by fou 'mad/jester'
WiktionaryMichel Foucault
« Ubu rond de cuir » appartient au fonctionnement de l’administration moderne, comme il appartenait au fonctionnement du pouvoir impérial à Rome d’être entre les mains d’un histrion fou.“Ubu the pen-pusher” is part of how modern administration works, just as it was part of how imperial power worked in Rome to be in the hands of a mad ham actor.
Les Anormaux, lecture of 8 January 1975@foobar
A foo-foo, or an outsider
Don't know what a foo-foo is? Well, as you're a greenhorn, I'll enlighten you. A foo-foo, or an outsider, is a chap that can't come the big figure. —A Glance at New York.
Bartlett · Dictionary of Americanisms, 1859Foo Mobi
foobar2000
Foo Fighters
Foo-Fighters, 1945
A United States Night Fighters Base, France, Jan. 1 — (AP) — The Nazis have thrown something new into the night skies over Germany — the weird, mysterious “foo-fighter,” balls of fire which race alongside the wings of American Beaufighters flying intruder missions over the Reich.
Chronicling AmericaFoo-Foo
Foo-Foo is Miss Piggy's dog, who first appeared in the fourth season of The Muppet Show. She speaks only in barks and other typical dog vocalizations. According to The Muppets Character Encyclopedia, Foo-Foo has siblings named Oui-Oui, Poo-Poo, Num-Num, Goo-Goo, and Fred.
Muppet Wiki5-FU
foo.bar
Google Foobar is a secret way of recruiting top developers and programmers from around the world. It includes challenges occurring instantly on the screen of the developer when they search for some specific keywords related to coding.
Turing
Foobar Zero
Foo Bar




FooFoo
Foo, or FooFoo, the second fannish Ghod, proclaimed by Pogo in 1938. Foo was embodied on earth as Jack Speer, author of the first Fancyclopedia. The holy color of Foo is black, as Foo is a ghod of mimeography. The Sacred Order was sometimes called the Black Legion.
Fancyclopedia 3Phoo, Phoo!
Phoo, Phoo! Paine knows well enough that we have a Constitution, which has long been the admiration of the world; and, though his taste is too depraved to admire what is so excellent, it excites his envy and his malice.
John Bowles · Dialogues on the Rights of Britons, 1792Aw, phooey!

fu-ty nu-ty · [ˈfu tɨ ˈnu tɨ]
Russian · interjectional phrase (разг.)
with exclamatory intonation, expresses surprise, irony and similar feelings
...палка с серебряным набалдашником – просто фу-ты ну-ты, важная персона!...a cane with a silver knob – la-di-da, a big shot! (Russian translation of Twain, Huckleberry Finn, 1884; example via kartaslov.ru)
WiktionaryFEE FIE FOE FOO
C FOOBAR CURRENT PROGRESS IN SAYING "FEE FIE FOE FOO".
Colossal Cave Adventure · 1977The FOO
fu · [fu]
Russian · interj.
pew!, ew!, yuck! (expresses disgust); phew! (relief); (dog command) stop that!
Фу, какая гадость!Ugh, how disgusting!
WiktionaryFooz Formation – FOO
Origin of name. Section located in the Potisseau River valley at Fooz, a hamlet of Wépion … The Formation rests unconformably on the lower Paleozoic basement and starts with a conglomerate named Ombret Conglomerate.
Denayer & Mottequin · Geologica Belgica, 2024FOO, BE
094G 002 Name FOO, BE Mining Division: Liard BCGS Map: 094G031 Status: Showing NTS Map: 094G05W Latitude: 057º 21' 56'' Longitude: 123º 49' 33'' Commodities: Zinc, Lead, Barite, Copper Deposit Types: E10 : Carbonate-hosted barite Tectonic Belt: Foreland Terrane: Ancestral North America
BC MINFILEBy the numbers
4,038,656files on GitHub contain the word foobar
GitHub code search · Sept 2026733of the 9,835 RFCs mention foo. The first was RFC 114, in April 1971.
RFC Editor19,356Stack Overflow questions mention foobar
Stack Exchange API · Sept 20260of the 131,152 papers in the ACL Anthology have foobar in the title or abstract
ACL AnthologyFamous Fus and Foos




FOO Of Oberlin
Official motto: The FOO, the Proud, the FOO.
Official FOO operating system: FOOnix, a new version of unix, where all commands are self referential. It saves lots of space that way.

Foo Lake
Foo Lake is a 4 acre lake located in Sawyer County. It has a maximum depth of 15 feet.
Wisconsin DNR
Foo Tank
Foo Tank (in Mohave County, AZ) Feature Class: Reservoir GNIS ID 4714 Latitude 35.4219741 Longitude -113.9915363
USGS · HomeTownLocatorfufló · [fʊˈfɫo]
Russian · noun (slang, derogatory)
1. lies, deception; something unreliable or fake; 2. a swindler, a person not respected; 3. something bad, of poor quality
― Ты чего, во все это фуфло веришь?What, you believe all that crap? (Pelevin, Chapaev i Pustota, 1996, via НКРЯ)
Wiktionary
Foo, the dice game
6-Dice, 10,000 Dice, or Dice 10,000 is the name of a family dice game, very similar to Farkle. It also goes by other names, including Zilch, Foo, Boxcar, Bogus and Crap Out.
Wikipedia · Dice 10000, 2010

















































