Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Origin of 'foo', 'bar', et al?

by Maclir (Curate)
on Jun 18, 2003 at 12:49 UTC ( #266804=note: print w/ replies, xml ) Need Help??


in reply to Origin of 'foo', 'bar', et al?

Generally, when someone is writing a piece of code to demonstrate something, they will choose meaningless variable names, simply because the name is not important, but the logic of the code is.

I believe the origin of the words date back to a World War 2 US army expression "fubar" - f**ed up beyond all recognition - and hence we get two names, "foo" and "bar". Baz just jumped in the jeep and came along for the ride.


Comment on Re: Origin of 'foo', 'bar', et al?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://266804]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2015-07-30 04:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls