This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

What is foo

Hi,
some of you guys use "foo" as a name for a plain variable or a function. What is the meaning of "foo"?

Parents Reply Children
  • It means nothing; it is just used because some name is required, and there is no reason not to use it.

    Because it has no meaning, it prevents any problems with people (mis)interpreting what they think it means!

    Commonly used in example snippets - where it could equally be 'my_variable', 'fred', or anything else!