Talk:Foobar

From Wikipedia, the free encyclopedia
Jump to: navigation, search
          This article is of interest to the following WikiProjects:
WikiProject Computing (Rated C-class, Mid-importance)
WikiProject icon This article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
C-Class article C  This article has been rated as C-Class on the project's quality scale.
 Mid  This article has been rated as Mid-importance on the project's importance scale.
 
WikiProject Linguistics (Rated C-class, Low-importance)
WikiProject icon This article is within the scope of WikiProject Linguistics, a collaborative effort to improve the coverage of Linguistics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
C-Class article C  This article has been rated as C-Class on the project's quality scale.
 Low  This article has been rated as Low-importance on the project's importance scale.
 
WikiProject Computer science (Rated C-class, Mid-importance)
WikiProject icon This article is within the scope of WikiProject Computer science, a collaborative effort to improve the coverage of Computer science related articles on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
C-Class article C  This article has been rated as C-Class on the project's quality scale.
 Mid  This article has been rated as Mid-importance on the project's importance scale.
 

First lettes of Runes: http://en.wikipedia.org/wiki/Runes#Elder_Futhark_.282nd_to_8th_c..29 — Preceding unsigned comment added by 89.134.76.200 (talk) 06:04, 12 May 2012 (UTC)

Standartisation of "Hello, world!"[edit]

Unless not possible due to language limitations, shouldn't all output the same? Python, PHP and Actioncode miss the comma. Python also misses the space (no idea if this is intentional). LSL has the comma, but the comment states that it doesn't. 85.146.78.111 (talk) 05:30, 26 October 2009 (UTC)

Informal[edit]

I'd like to see something to the effect:

"foo" and "bar" are generally not used in formal documentation. They are something of an "in joke", and mark text as being meant for fellow coders, as not having been (or intended to be) formally reviewed - certainly not by persons outside the hacker culture. They may indicate that code is to do with a subject that is technical with respect to computer science itself - one might see them in comments on code relating to compilers or operating systems, but not in code relating to end user interfaces or business-level logic.

Oh really? Maybe you should have a look at the current C++ ISO standard. —Preceding unsigned comment added by 192.91.172.42 (talk) 18:09, 13 January 2010 (UTC)

That's just sad. "Foobar" is just silly hacker jargon. 83.255.36.203 (talk) 17:59, 12 July 2010 (UTC)
But that also supports one of the parent's assertions - that it's a CS-specific nomenclature - by being used in a programming language spec. I agree that it's not about formality, but more about being CS-specific. I'd also like to note that ISO standards, by virtue of being largely written by industry insiders, vary wildly in terms of style of language (let alone vocabulary) used, and hence "foobar"'s use in a very specific ISO standard doesn't strongly imply its widespread use, nor its suitability thereof. C xong (talk) 02:08, 27 July 2010 (UTC)

I'd like to clarify that 'foobar', 'foo', 'bar' and 'baz' are psuedocode terms and should never be used in real code. Generally psuedocode involves simplistic examples for reference only by other programmers and the use of the words such as 'foo' and 'bar' help to identify the code as such. It is not a hacker culture thing. Use of these naming conventions in real code is highly frowned upon and those who do are 'hacks', not 'hackers'. I agree with the above poster that just because the terms are referenced in an ISO standard has no bearing whatsoever. It is extremely bad practice to use such words in genuine code. — Preceding unsigned comment added by 173.243.44.2 (talk) 18:06, 17 November 2013 (UTC)

Neutrality[edit]

I believe that the neutrality of the section "Criticism" isn't... well, neutral. It leans very heavily towards discouraging use of the hackerism. Is there any reliable and verifiable source that denounces foobar? —Preceding unsigned comment added by 149.144.188.2 (talk) 17:11, 22 July 2010 (UTC)

No there isn't, the whole paragraph consists of unsourced claims and weasel-wording. I removed it, but an IP user knee-jerked and reverted the whole junk back in again, followed by a well-meaning but IMHO ineficcent user inserting a bunch of maintainance tags. This whole paragraph should go, I see no need to cling to such sub-standard writing.-- Seelefant (talk) 17:58, 4 August 2010 (UTC)

History and etymology[edit]

I admit that the fact the EECS buildings were adjacent to Building 20 is an anachronism. Hackers were using "foo" and "bar" in the 50's before EECS had buildings there. At least, not the ones currently there. I leave it to a better historian than myself to uncover how close Building 20 was to the original LISP community. For all I know, LISP was invented in Building 20. As for my other additions to this section today, I was there 1980-1984. I know what I'm talking about. -- tbc (talk) 17:30, 14 October 2010 (UTC)

Having been there is not sufficient to remove sourced claims and add unsourced claims. You may be right, but you need some evidence beyond your own memories to make those fairly significant changes. Torchiest talk/edits 19:59, 14 October 2010 (UTC)

"german american" roots of the etymology - just a guess[edit]

is some computer programs the variable foobar apears. for german natives it reads like "furchtbar" - an attribute to something terrible. i guess there war some german military adviser in the vietnam war who's vocabulary contained a world for something like "terrible ugly". i heard somewere on the radio the marines call walky talkies in the end only "foobar" was understood. which sounds like the britisch "lurking horror" or so. the eymology sounds like that red from here in germany. in the movie rambo "krautmann" apears as a warrior adviser. some veterans of the vietnam war are done with the state. so what is the right etymology of the word foobar in american english ?

not signed so i leave the article to the americans to find some truth in wp. — Preceding unsigned comment added by 79.234.253.145 (talk) 09:45, 10 October 2011 (UTC)

Colloquial usage of the term (which I know rather spelled as phoo-ba) in English in place of "mistake", "mishap" has always made me assume a French etymology actually, in that it's rather derived from faux pas. Would be great if anybody could find a source for anything like that. --79.193.31.235 (talk) 02:46, 5 April 2012 (UTC)


A simple German-English dictionary search confirms the translation as "awful", "dreadful", "terrible", etc. Is a standard online dictionary a reliable source to be cited in the main page, since the translation is missing a citation? --Chocoholic Jedi (talk) 15:11, 26 June 2012 (UTC)

Another early source[edit]

Cab Calloway and his Orchestra recorded "Foo A Little Ballyhoo" in New York City, September 18, 1944.

Someone posted a live performance broadcast August 14 1945 from The New Zanzibar New York City: http://www.youtube.com/watch?v=KTfMC6h3lTY

[I have no idea who wrote it or when the score was copyrighted, so I can't add it to the article.]

Fubab: Beyond All Belief - We know how "fouled" up things are, we simply cannot believe it. I coined 'fubab' sometime in the mid-eighties while attending Arizona State University. If anyone knows where I might have heard it before that time, please let me know. Hpfeil (talk) 20:29, 27 May 2012 (UTC)

PHP example[edit]

Is that PHP example supposed to be the direct analog of the code above and below it? Constructing an array and then "imploding" it, while the other two are simple concats? Maury Markowitz (talk) 12:00, 14 January 2013 (UTC)

Moreover: Can anything PHP actually be called "code"? — Preceding unsigned comment added by 31.4.245.215 (talk) 16:25, 17 January 2014 (UTC)

Baz and qux[edit]

No information about how baz and qux got included? howcheng {chat} 22:47, 22 November 2013 (UTC)

Date of RFC3092[edit]

1 April 2001. Is this a cause for concern? — Preceding unsigned comment added by 142.254.47.175 (talk) 15:15, 17 September 2014 (UTC)