2. Definition and Etymology
bar /bar/ n. [JARGON]
1. The second metasyntactic variable, after foo and before baz.
"Suppose we have two functions: FOO and BAR. FOO calls BAR...."
2. Often appended to foo to produce foobar.
foo /foo/
1. interj. Term of disgust.
2. Used very generally as a sample name for absolutely anything, esp.
programs and files (esp. scratch files).
3. First on the standard list of metasyntactic variables used in
syntax examples (bar, baz, qux, quux, corge, grault, garply,
waldo, fred, plugh, xyzzy, thud). [JARGON]
When used in connection with `bar' it is generally traced to the
WW II era Army slang acronym FUBAR (`Fucked Up Beyond All
Repair'), later modified to foobar. Early versions of the Jargon
File [JARGON] interpreted this change as a post-war
bowdlerization, but it now seems more likely that FUBAR was itself
a derivative of `foo' perhaps influenced by German `furchtbar'
(terrible) - `foobar' may actually have been the original form.
See: http://www.ietf.org/rfc/rfc3092.txt
;)
bvr.
Alberto Wagner wrote:
>Why everyone uses $foo or $foobar as examples?
>
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php