Remix.run Logo
qsera 4 hours ago

Isn't it supposed to be fubar? fucked up beyond any recognition?

dahart 4 hours ago | parent | next [-]

Yes that’s the original spelling & meaning. But using the spellings foobar, foo, bar, and sometimes baz, have been used for decades in programming as examples, temporary names, stand-ins etc. I just assumed that spelling it foo was meant to distance it from the curse word slightly while simultaneously making the pronunciation more clear (i.e. foo not fuh); foo just makes a good nonsense word.

breatheoften an hour ago | parent [-]

I only just realized the z in foobaz stood for zork

atoav 4 hours ago | parent | prev | next [-]

https://en.wikipedia.org/wiki/Foobar

ChrisClark 4 hours ago | parent | prev [-]

not in code, the tradition has been two words actually, foo and bar