Skip to main content
GameDev.net gamedev.net
🔒 Locked

what the hell is foo?!

Started by Grizwald May 13, 2003 at 5:12 PM 16 replies 550+ views
Original Post
Grizwald
Grizwald
is foo to general programming as the teapot is to 3D apps?
I love me and you love you.
microdot
microdot
Click me.
<span class="smallfont">That is not dead which can eternal lieAnd with strange aeons even death may die.   -- "The Nameless City" - H. P. Lovecraft</span>
AnonymousPosterChild
AnonymousPosterChild
I pity the foo!

--------------------------------------------
"I will nuke your bowels into oblivion"
"What you think you see is only as real as your brain tells you it is."
With love, AnonymousPosterChild
Grizwald
Grizwald
mr. t?!?!!? YES!

if (foo (CSituation *sit))
pity(foo);

I love me and you love you.
rohde
rohde
quote:
Original post by microdot
Click me.


Link of the day!!! I''ve been wondering about this foo() bar() stuff since 1995 when I read the Core Java books. AND NOW I KNOW. Here''s an apple. YES

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction.
"We confess our little faults to persuade people that we have no large ones." -Francois de La Rochefoucauld (1613 - 1680). | My blog
evil sausage
evil sausage
It's just a name used in programs to show examples in code. I think it stands for something. It's short for foobar I think.


    
(defstruct foo IQ Power height width depth)


edit:damn fast posters

[edited by - evil sausage on May 13, 2003 6:22:33 PM]
And so, the evil religion thread stole the wonderful "What the Heck?" thread's throne. Truly a sad day for gamedev.
Colin Jeanne
Colin Jeanne
quote:
Original post by rohde
Link of the day!!! I''ve been wondering about this foo() bar() stuff since 1995 when I read the Core Java books. AND NOW I KNOW. Here''s an apple. YES



And in 8 years you never thought to look it up on Google?



Qui fut tout, et qui ne fut rien
Invader''s Realm
Peon
Peon
Did Google exist 8 years ago?
Peon
adventuredesign
adventuredesign
quote:
Original post by Grizwald
is foo to general programming as the teapot is to 3D apps?




It also means some object you pick up in a game, like a key or a tool. I''ve heard it called object, but foo is not health or something like that, those I think are called resources.
Always without desire we must be found, If its deep mystery we would sound; But if desire always within us be, Its outer fringe is all that we shall see. - The Tao
Nervo
Nervo
Isn''t Foo one of them there ''ebonics'' semantic.
Well, R2D22U2..
rohde
rohde
quote:
Original post by Invader X
And in 8 years you never thought to look it up on Google?

He, good point. Well, it just WONDERED about, didn''t really CARE that much, you know Now I''m just happy I know. YAY...



-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction.
"We confess our little faults to persuade people that we have no large ones." -Francois de La Rochefoucauld (1613 - 1680). | My blog
Senses777
Senses777
I also confess that I knew not what it meant, but was not so concerned about it to type it in on Google, thanks ^^. .sen
"I want to make a simple MMORPG first" - Fenryl
DakeDesu
DakeDesu
Darn... I keep forgetting... you guys don''t have the psychic capacities to grok the word Foo...

As for me, I figured it was just some gibberish used in examples as a metasyntactic variables--as it has appeared in lots of books in that context.

-=-
There is no evil twin, I deny the existance of this fabled evil twin
The Bag
The Bag
bar...
Taulin
Taulin
I always knew the term FUBAR.. I just thought foobar was the polite way to write it on the blackboard. Plus, it has a nice even amount of letters so when you practice your sorts in Data Structures class, it works out nice.

I think Webcrawler was out by 1995.
griffenjam
griffenjam
foo is what everyone is but me is....



"There aint gonna be no tea and crumpets!"

[edited by - griffenjam on May 14, 2003 2:35:36 PM]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.