Tagged Questions
16
votes
3answers
984 views
What's the origin of foo and bar? [duplicate]
Possible Duplicate:
Using “Foo” and “Bar” in examples
I know AT&T labs used them in their Unix days, but do they have even deeper histories?
53
votes
13answers
8k views
What is the history of the use of “foo” and “bar” in source code examples?
Why do many code examples, especially tutorials, use the names "Foo" and "Bar" so often? It is almost a standard.
For example:
void foo(char* bar) {
printf("%s", bar);
}