| ▲ | RFC 3092 – Etymology of "Foo" (2001)(datatracker.ietf.org) | ||||||||||||||||
| 109 points by ipnon 8 hours ago | 25 comments | |||||||||||||||||
| ▲ | tpetricek 7 hours ago | parent | next [-] | ||||||||||||||||
There is an entire paper looking at the history, meaning and cultural significance of the foo, bar, baz words: https://link.springer.com/article/10.1007/s13347-019-00387-2 | |||||||||||||||||
| |||||||||||||||||
| ▲ | ksec 6 hours ago | parent | prev | next [-] | ||||||||||||||||
A lot of programming languages uses "Foo bar" during introduction without actually explaining why "Foo" and why "bar". Before the age of Google and Internet it was perhaps one of the most common question from speakers of non-English language. | |||||||||||||||||
| |||||||||||||||||
| ▲ | thenoblesunfish 6 hours ago | parent | prev | next [-] | ||||||||||||||||
This location in Switzerland reminded me of some placeholder Python code. | |||||||||||||||||
| |||||||||||||||||
| ▲ | tombert 3 hours ago | parent | prev | next [-] | ||||||||||||||||
Being largely self taught, I ended reinventing a lot of lingo myself. My placeholder words are generally “blah”, “yo”, and “fart” unless other people are reading the code. I never claimed I was terribly mature. | |||||||||||||||||
| ▲ | greatquux 2 hours ago | parent | prev | next [-] | ||||||||||||||||
I stole this handle from GLS many many years ago and I use it pretty much everywhere. I guess I just love the idea of metasyntactic variables, and using that phrase whenever anyone asks me about my handle! | |||||||||||||||||
| ▲ | _ZeD_ 7 hours ago | parent | prev | next [-] | ||||||||||||||||
funny how in italian the "Metasyntactic variable"[1] are "pippo", "pluto" and "paperino" [1] https://en.wikipedia.org/wiki/Metasyntactic_variable#Italian | |||||||||||||||||
| ▲ | zahlman 3 hours ago | parent | prev | next [-] | ||||||||||||||||
> First on the standard list of metasyntactic variables used in syntax examples (bar, baz, qux, quux, corge, grault, garply, waldo, fred, plugh, xyzzy, thud) I've seen foo, bar, baz, qu+x, plugh and xyxxy actually in use, not the others. I've not used "qux" or followed the convention of adding more u's. From me it's been just foo, bar, baz, quux and then some Monty Python inspired ones: spam, ni, ecky, ptong. Although eventually I learned enough about how to name things that I don't feel the temptation any more. I'll gladly pay that bit of joylessness to understand myself months later. | |||||||||||||||||
| |||||||||||||||||
| ▲ | jibal 6 hours ago | parent | prev | next [-] | ||||||||||||||||
April 1, 2001 | |||||||||||||||||
| |||||||||||||||||
| ▲ | IFC_LLC 6 hours ago | parent | prev | next [-] | ||||||||||||||||
I don’t understand how this article is not at the top of all times | |||||||||||||||||
| ▲ | zabzonk 6 hours ago | parent | prev | next [-] | ||||||||||||||||
naming is hard. my advice to junior programmers after i see them agonising over a name - "just call it x or foo for now, you are going to change it later anyway" | |||||||||||||||||
| |||||||||||||||||
| ▲ | johnthescott 7 hours ago | parent | prev | next [-] | ||||||||||||||||
f*kt up beyond all recognition. semper fidelis i first heard "foo bar" from eric allman at berkeley office of britton-lee, mid 1980s. i vaguely recall eric wrote a column about history of "foo bar". | |||||||||||||||||
| ▲ | alhazrod 8 hours ago | parent | prev | next [-] | ||||||||||||||||
Echoes of ARPANET. | |||||||||||||||||
| ▲ | mac3n 4 hours ago | parent | prev | next [-] | ||||||||||||||||
Now, tell us about "ZQX3". | |||||||||||||||||
| |||||||||||||||||
| ▲ | taybin 7 hours ago | parent | prev [-] | ||||||||||||||||
No mention of “baz” | |||||||||||||||||
| |||||||||||||||||