Using "Foo" and "Bar" in examples

Posted by liinkas on Stack Overflow See other posts from Stack Overflow or by liinkas
Published on 2008-10-02T16:10:49Z Indexed on 2010/05/27 6:01 UTC
Read the original article Hit count: 354

Why do code examples (mostly tutorials) use the names "Foo" and "Bar" so often? It is almost a standard.

For example:

void foo(char* bar) {
  printf("%s", bar);
}

© Stack Overflow or respective owner

Related posts about examples

Related posts about foobar