Like Tree1Likes
  • 1 Post By laserlight

origin of "foo bar"?

This is a discussion on origin of "foo bar"? within the General Discussions forums, part of the Community Boards category; I see in many guides the expression "foo bar", or sometimes "foobar", and even things like: Code: if(bar == foo) ...

  1. #1
    Don't be a jerk.
    Join Date
    Jan 2013
    Location
    Snowball Arkansas
    Posts
    11

    Question origin of "foo bar"?

    I see in many guides the expression "foo bar", or sometimes "foobar", and even things like:
    Code:
    if(bar == foo)
    {
        // ...
    }
    When or where did "foobar" come from, anyway??

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    23,772
    I started using them after reading about foo.
    Lesshardtofind likes this.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,604
    I believe it comes from FUBAR which is pretty much what every software engineer's job revolves around on a daily basis.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 5
    Last Post: 10-12-2012, 06:17 AM
  2. Replies: 2
    Last Post: 08-19-2012, 06:15 AM
  3. "itoa"-"_itoa" , "inp"-"_inp", Why some functions have "
    By L.O.K. in forum Windows Programming
    Replies: 5
    Last Post: 12-08-2002, 07:25 AM
  4. "CWnd"-"HWnd","CBitmap"-"HBitmap"...., What is mean by "
    By L.O.K. in forum Windows Programming
    Replies: 2
    Last Post: 12-04-2002, 06:59 AM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21