Forum Moderators: open

Message Too Old, No Replies

Why Foo?

         

groovyhippo

11:49 am on Jun 3, 2003 (gmt 0)

10+ Year Member



This seems to be obvious to everyone else but me...

Where do the names Foo and Bar come from that I seem to see used as examples in various programming textbooks (and the name of this forum).

Macguru

11:50 am on Jun 3, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



[webmasterworld.com...]

Can't miss it, first link on top... ;)

Mardi_Gras

11:52 am on Jun 3, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



From webopedia.com:

Foobar is a universal variable understood to represent whatever is being discussed...

Foo, bar, and the compound foobar were commonly used at MIT, Stanford and the Helsinki University of Technology, Finland. Other generic variables are used other places, but only these three are considered universal.