The term foo is sometimes used as a placeholder name in computer programming or computer-related documentation. Other placeholders, also referred to as metasyntactic variables, are bar, baz, qux and foobar. The word foo originated as a nonsense word from the 1930s.
The term foo is very often used in programming examples, much like the Hello World program is commonly used as an introduction.