www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/01/15:46:31

From: "Damian Yerrick" <web DOT poison AT pineight DOT 8m DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: off topic: what is foo?
Date: Fri, 1 Oct 1999 13:15:32 -0500
Organization: Rose-Hulman Institute of Technology
Lines: 19
Message-ID: <7t2trt$a9$1@solomon.cs.rose-hulman.edu>
References: <7t2er4$uoq$1 AT nnrp1 DOT deja DOT com>
NNTP-Posting-Host: yerricde.laptop.rose-hulman.edu
X-Trace: solomon.cs.rose-hulman.edu 938801853 329 137.112.103.81 (1 Oct 1999 18:17:33 GMT)
X-Complaints-To: news AT cs DOT rose-hulman DOT edu
NNTP-Posting-Date: 1 Oct 1999 18:17:33 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

<chongkong AT my-deja DOT com> wrote in message news:7t2er4$uoq$1 AT nnrp1 DOT deja DOT com...
> can anyone explain to me just why is so many sample code uses foo as a
> variable or function name?

1. It has nothing to do with the rock band Foo Fighters.
http://www.foofighters.com/
2. foo, bar, etc. are common metasyntactic variables used in
programming examples.
3. foo and bar are commonly thought to derive from the military
acronym FUBAR (fouled up beyond all recognition/repair).
4. For more information, look at the Jargon File.
http://www.ude.org/jargon/jargon.html#metasyntactic%20variable


Damian Yerrick
http://come.to/yerrick


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019