A MetaSyntacticVariable :)
The historical reason for using Foo and Bar is best described in the Jargon File
Note to editors/gnomes; The JargonFile:foo link appears to be broken..
5 pages link to Foo: