Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: the meaning of 'foo'


From   "Scott Merryman" <smerryman@kc.rr.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: the meaning of 'foo'
Date   Thu, 24 Aug 2006 11:52:37 -0500

Wikipedia defines it as the metasyntactic variable.

http://en.wikipedia.org/wiki/Metasyntactic_variable

"A metasyntactic variable is either a placeholder name (a kind of alias
term, commonly used to denote the subject matter under discussion), or a
random member of a class of things under discussion. The term originates
from computer programming and other technical contexts, and is commonly used
in examples by hackers and programmers. The use of a metasyntactic variable
is helpful in freeing a programmer from creating a logically named variable,
although the invented term may also become sufficiently popular and enter
the language as a neologism. The word foo is the canonical example (it is
known as the canonical metasyntactical variable).

The phenomenon is similar to the use in algebra of x, y and z for unknown
variables, and a, b and c for unknown constants. "Widgets" are also used in
business to indicate an as-yet-unspecified product and are frequently sold
by the Acme company."

Scott

> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-
> statalist@hsphsun2.harvard.edu] On Behalf Of b. water
> Sent: Thursday, August 24, 2006 11:46 AM
> To: statalist@hsphsun2.harvard.edu
> Subject: st: the meaning of 'foo'
> 
> hi all,
> 
> without wanting to sound irreverent, i wonder whether someone could tell
> me the meaning or full expression of the abbreviation 'foo' so often used
> to illustrate Stata advice/help. i have always wanted to know this but
> now, my curiosity got the better of me. i simply have to ask.
> 
> apologies if it has nothing to do with either statistics or Stata.
> 
> regards,
> bw



*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index