delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/29/06:01:49

From: "Tom Cook" <tcook AT nexus DOT edu DOT au>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: The meaning of FOO and BAR
Date: Mon, 29 Dec 1997 19:57:31 +0930
Organization: Nexus Information Service
Lines: 31
Message-ID: <687u89$7r7@nexus.nexus.edu.au>
References: <Chameleon DOT 971223221837 DOT nrotem AT netvision DOT netvision> <67p85c$p9d AT eve DOT enteract DOT com>
NNTP-Posting-Host: nexus.nexus.edu.au
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Jeremy Nelson wrote in message <67p85c$p9d AT eve DOT enteract DOT com>...
>Noam Rotem  <nrotem AT johnbryce DOT co DOT il> wrote:
>>I see every here and there examples of code, using the prefixes FOO and
BAR.
>>I always consider it merely identifiers, ignoring their semantic meaning,
>>but I've got curious lately.
>>Are these abbreviations or something? What are the originals of the
>>prefixes?
>
>You might try reading the "new hacker's dictionary" (eg, the Jargon
Lexicon)
>which discusses the entymology of "foo" and "bar" and hundreds of other
>items which if you have a knowledge of will allow you to have a good
working
>knowledge of most of the lingo that unix programmers use.
>
>http://www.wins.uva.nl/~mes/jargon/
>
>Jeremy

I believe the identifiers 'foo' and 'bar' come from the old British Army
acronym 'FOOBAR' which is a mis-spelling of the even older British Army
acronym 'FUBAR' which stands for "F***ed Up Beyond All Recovery". Not sure
on this.
This is all just slightly off-topic anyway!
HTH!
Tom Cook



- Raw text -


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