English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I used to learn unix in books and in the internet everywhere if any example i am reading they are saying foo and bar..

What is the reason did you know any guess ?

2006-09-29 20:33:50 · 4 answers · asked by sathiya 1 in Computers & Internet Software

not only unix also in Linux

2006-09-29 20:41:58 · update #1

4 answers

Think of "Foo" and "Bar" in programming, as the "X" and "Y" of math.

They are metasyntactic variables.

Here is a link which attempts to further define these terms, The Etymology of "Foo";

2006-10-01 09:45:19 · answer #1 · answered by 1993 FLSTF 4 · 0 0

Unix is the worst "operating system" ever to come out of hell. Don't wase your time. There is no reason for how anything is done in Unix, except for sheer stupidity. Want an example? Type in:

man tunefs

The last thing in the description of the command they mention "tunafish". When you come up with a good reason for this...

2006-09-29 20:39:18 · answer #2 · answered by vinny_the_hack 5 · 0 0

I don't know how it applies to learning Unix, but in the military FUBAR is an acronym for "F**ked Up Beyond All Recognition" - It was used to indicate the work one had completed was totally unacceptable.

2006-09-29 20:43:45 · answer #3 · answered by Anonymous · 0 0

"Foo" is a short form for "function", I suppose. They give names like "foo" or "foo_2" to examples of functional procedures in programming. For instance - in "Let's talk Lisp" by Siklossy if I remember correctly.

Unix is famous for omitting vowel letters in names (as in Arab writing). They use only consonants if you can guess the omitted vowels without ambiguity.

2006-09-29 21:26:05 · answer #4 · answered by Anonymous · 0 0

fedest.com, questions and answers