It is derived from a military term, "FUBAR," or "Fucked Up Beyond All Recognition."  It got respelled to "foobar" by people who heard it but did not know the origins.  Software engineers shortened it to simply "foo" as a generic variable (or object), usually for test cases or explanatory documentation.
 
mark
-----Original Message-----
From: Arnaud D [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 03, 2000 5:28 AM
To: [EMAIL PROTECTED]
Subject: <dumb question ?> What is Foo ??

What is the term Foo ???
I see it all over the place, in most examples : setFoo() getFoo(), Foo.class , import java.foo.* ??
 
Is it a generic term used in examples like someone would say MyClass or myMethod ?
Or am I just passing next to a very important concept ??
 
This might be a stupid question, but hey, like you never said anything dumb !!
 
Thanx for answering me, not knowing won't make me a worse programmer (?) nor an insomniac, but i don't want to die ignoring this!
 
Regards, Arnaud D

Reply via email to