Bar (computer science)

From Wikipedia, the free encyclopedia

Bar is a metasyntactic variable used heavily in computer science to represent concepts abstractly and can be used to represent any part of a complicated system or idea including the data, variables, functions, and commands just to name a few. Bar is commonly used with the metavariables foo and foobar. The word bar as used in computer science has no meaning and is merely a commonly used logical representation that is used much like the letters 'x' and 'y' in algebra.

Bar entered the english language as a neologism due to its popularity in describing concepts in computer science and continues to be popular in computer programming examples and pseudocode.

[edit] Examples

There are two functions: FOO and BAR

FOO calls function BAR 
BAR returns the data FOOBAR

[edit] See also

[edit] References