Foobar

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Foobar

Post by Chris Corbyn »

What's your interpretation of foobar (or foo and bar)? There's plenty out there that shows contradicting view's on it's origin. Do you use foo and bar in psuedo code? Do you use something else? - what and why?

*d11wtq is enjoying a few beers and feeling philosophical

(The weirder the better)
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I use foo, bar, bif, baf, buf. Most know the basic origin of foobar: fubar.. I know we've actually discussed this before:

foo bar
The meaning of "foo"
WHAT THE HELL IS A $FOOOOO[bar]
User avatar
nielsene
DevNet Resident
Posts: 1834
Joined: Fri Aug 16, 2002 8:57 am
Location: Watertown, MA

Post by nielsene »

As you've probably noticed in my posts, I use them all the time in example code. I'll never use the metasyntatic variables in real code, however. When you need a quick variable/class name to illustrate a point and the actual name doesn't matter, they're perfect. I stick with the canonical "foo", "bar", "baz","quz","quuz". It similar to "Hello World" or "Hi Mom!" that a lot of people use for an arbitary string.
Post Reply