[Tutor] what is foo bar?

Deirdre Saoirse deirdre@deirdre.net
Sun, 26 Mar 2000 22:46:26 -0800 (PST)

On Sun, 26 Mar 2000, Walter Hanagriff wrote:

> the words foo and bar are used so much in examples, why? 

Tradition. Just like using x for a variable name or i for a counter.

> was that it was poor style, does foo and bar, or just foo or 
> bar actually do something
> or just useful as example names of variables, modules and 
> such?

fubar = "f*cked up beyond all recognition" probably had something to do
with splitting it into foo + bar. :)

_Deirdre   *   http://www.linuxcabal.org   *   http://www.deirdre.net
"The year after I was born, we walked on the moon. Now, 31 years later,
it's considered an impressive feat of science to grow tomatoes in low 
Earth orbit."                           -- John Miles <ke5fx@qsl.net>