What the foo?

Aug 25, 2010 at 8:42pm
Hey, what's up with the naming of classes/namespaces/functions/data members/template types/structures/unions foo or bar? I've seen plenty of them so far and I just can't stop to think about what it means.

(Pasted this in lounge since it's not really the C++ code, more the writing style or whatever you want to refer to it.)
Aug 25, 2010 at 8:43pm
They are just common example words, like "hello world"
http://en.wikipedia.org/wiki/Foobar
Aug 25, 2010 at 9:00pm
Hey, thanks. I learned some .. interesting words. Don't be kludging that cruft, that spaghetti code will make the (hello) world asplode!
Aug 25, 2010 at 9:12pm
foo and bar are the two syllables in fubar.
Aug 25, 2010 at 9:25pm
Read about that a minute ago. :P
Topic archived. No new replies allowed.