Tech moves fast! Stay ahead of the curve with Techopedia!
Join nearly 200,000 subscribers who receive actionable tech insights from Techopedia.
Foo is commonly used slang term in computer programming as a term to express different variables, functions and other specific concept commands.
The meaning of foo in computer programming and pseudocode varies. Some users use the term extensively, while many others prefer descriptive names that decrease any possibility of misunderstanding.
Foo and similar terms do not have an easily traceable origin, but there are several theories. Some researchers assert that FUBAR – a German military slang term that refers to something that isn't working – is the origin of Foo.
MIT’s Tech Model Railroad Club may be responsible for Foo's application in the hacker and programming world, where scam switches were distributed and possibly discarded in the event of undesired conditions.