Browse Definitions :
Definition

bar

Contributor(s): Alison Gudgeon

In programming, bar is a metasyntactic variable that is used to temporarily represent a function . Other examples include (but are by no means limited to) ack, baz, blarg, wibble, foo , fum, and qux. Metasyntactic variables are sometimes used in developing a conceptual version of a program or examples of programming code written for illustrative purposes.

Any filename beginning with a metasyntactic variable denotes a scratch file. This means the file can be deleted at any time without affecting the program.

When two or more metasyntactic variables are needed, bar is often paired with foo as a result of the fact that foo is phonetically the first part of the otherwise unrelated acronym, FUBAR . In other words, foo (which has its own history; see Smokey Stover) gave rise to the later use of bar as a metasyntactic variable because of its phonetic association with the well-known acronym.

Sometimes the terms Base Address Register and Buffer Address Register are shortened to the acronym bar or BAR.

In physics, the bar is a unit of pressure equal to one million (10 6 ) dynes, equivalent to 10 newtons, per square centimeter. This is approximately the pressure exerted by Earth's atmosphere at sea level.

The word bar, in English, has numerous plain-usage definitions that can be found in any dictionary.

Also see foo and FUBAR .

This was last updated in September 2005

Continue Reading About bar

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

File Extensions and File Formats

SearchCompliance

  • compliance audit

    A compliance audit is a comprehensive review of an organization's adherence to regulatory guidelines.

  • regulatory compliance

    Regulatory compliance is an organization's adherence to laws, regulations, guidelines and specifications relevant to its business...

  • Whistleblower Protection Act

    The Whistleblower Protection Act of 1989 is a law that protects federal government employees in the United States from ...

SearchSecurity

  • payload (computing)

    In computing, a payload is the carrying capacity of a packet or other transmission data unit. The term has its roots in the ...

  • passphrase

    A passphrase is a string of characters longer than the usual password (which is typically from four to 16 characters long) that ...

  • Web application firewall (WAF)

    A Web application firewall (WAF) is a firewall that monitors, filters or blocks traffic to and from a Web application. WAFs are ...

SearchHealthIT

SearchDisasterRecovery

SearchStorage

  • computational storage

    Computational storage is defined as an architecture that couples compute with storage in order to reduce data movement. In doing ...

  • data deduplication

    Data deduplication -- often called intelligent compression or single-instance storage -- is a process that eliminates redundant ...

  • public cloud storage

    Public cloud storage, also called storage-as-a-service or online storage is a service model that provides data storage on a ...

Close