Foobar
placeholder names in programming From Wikipedia, the free encyclopedia
placeholder names in programming From Wikipedia, the free encyclopedia
Foobar, and sometimes foo and bar separately, are common placeholder names in computing.[1]
Foobars have been used to name variables, functions, and commands whose exact identity is unimportant. For example, a JavaScript tutorial might explain that two variables can be created at once with the code var foo, bar = 5. It's a lot like the placeholder letters x and y in algebra.
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.