+ 11
What is "foo" ?
In many examples (c++) i have seen a variable name commmonly used . That's " foo", "bar". Does foo symbolises any special meaning .
18 odpowiedzi
+ 25
foo and bar are just variable names created by someone with a sense of humour. They are thought to originate from the military slang FUBAR (F'd Up Beyond All Recognition) :) https://en.wikipedia.org/wiki/Foobar
+ 9
David Ashton
I used to think it was 'F*d up beyond any repair' 😁
+ 9
Any idea why they didn't call them fu and bar?
+ 8
foo is OOF BACKWARDS :DDD
+ 8
David Ashton
I couldn't find the original one :/
But this is good enough:
https://youtu.be/_bW4vEo1F4E
Monty python humour is awesome. Haha 😁
Also:
https://youtu.be/sAn7baRbhx4
😂 😂 😂
+ 7
Ipang I guess there are a few variations (F'd/Fouled Up Beyond All Recognition/Any Repair/All Reason)
+ 6
a very silly convention used to name functions. It should have ended a long time ago.
+ 5
No it does not have any special meaning and these are just function calls.
+ 4
foo and bar are just demo name for variables and functions. Used to explain some logic or used as a example.
+ 3
It's simple for example
+ 2
Vomit😂
+ 1
- lqatqiy
+ 1
Talk of making programming funny😂😂😂
0
good is just the name of variables ppl like to use when teaching that language just like python likes to use spam and eggs in it's lessons.