Page 1 of 8 12345 ... LastLast
Results 1 to 25 of 185

Thread: What is The Foo ?

  1. #1
    Join Date
    Feb 2007
    Location
    The other Dublin
    Posts
    888

    Default What is The Foo ?

    From Wikipedia

    Foo is a metasyntactic variable used heavily in computer science to represent concepts abstractly and can be used to represent any part of a complicated system or idea including the data, variables, functions, and commands just to name a few. Foo is commonly used with the metasyntactic variables bar and foobar. The word foo itself has no meaning and is merely a commonly used logical representation that is used much like the letters 'X' and 'Y' in algebra.



    I reject your reality and substitute my own.

  2. #2
    Join Date
    Feb 2007
    Location
    Somewhere between pain and pleasure
    Posts
    3,650

    Default

    main(){
    foo(bar());
    return 0 ;
    }


    There are 10 kinds of people in this world.
    Those who understand binary and those who do not.
    "Only a madman or an economist thinks exponential growth can go on forever in a finite world."

    Func FOO

    E .· ` ' / ·. F
    The FOO fuels me.


  3. #3
    Join Date
    Feb 2007
    Location
    Vancouver, WA
    Posts
    16,281

    Cool

    Quote Originally Posted by a13coach View Post
    foo(bar

    Foo bar = FUBAR

    .
    youtube - "The Runner"



    Foo Fantasy Football Champ 2013

    Dumbing down the internet, one post at a time

    Foo Fantasy Football Champ 2011

  4. #4
    Join Date
    Feb 2007
    Location
    Down the street and around the corner
    Posts
    43,716

    Default

    Bush = FUBAR


    Basketball Web Sites Listing

    “ We tend to forget in times of reversal that life without risk is endless rehearsal.” -- Fran J. Polek

  5. #5
    Join Date
    Feb 2007
    Location
    Northern Virginia
    Posts
    14,040

    Default

    (The message you have entered is too short. Please lengthen your message to at least 10 characters.)
    'I found it is the small everyday deeds of ordinary folk that keep the darkness at bay… small acts of kindness and love.'
    - Gandalf the Grey

    ________________________________



    Foo Time

  6. #6
    Join Date
    Feb 2007
    Location
    Northern Virginia
    Posts
    14,040

    Default

    You know that if you reply to this topic, the top of the page says Foo, Foo??
    'I found it is the small everyday deeds of ordinary folk that keep the darkness at bay… small acts of kindness and love.'
    - Gandalf the Grey

    ________________________________



    Foo Time

  7. #7
    Join Date
    Feb 2007
    Location
    Fremont/Wallingford
    Posts
    252

    Default

    Hopefully this won't get so out of hand that there will be forums called "bar", "baz", "quux", and "quuuux"

    if (!(gonzaga.win))
    {
    foobar = true;
    MessageBox.Show("ARGHGHGH!!!!!");
    return;
    }

  8. #8
    Join Date
    Feb 2007
    Location
    South Hill, Spokane
    Posts
    4,430

    Default

    FOO-bu.

  9. #9
    Join Date
    Feb 2007
    Location
    Tacoma WA
    Posts
    10,743

    Default

    Quote Originally Posted by Zag79 View Post
    FOO-bu.
    Foo you.

  10. #10
    Join Date
    Feb 2007
    Location
    Tacoma WA
    Posts
    10,743

    Default

    Is bowser bowser on this forum?

  11. #11
    Join Date
    Feb 2007
    Location
    Somewhere between pain and pleasure
    Posts
    3,650

    Default

    Quote Originally Posted by SammamiZag View Post
    Hopefully this won't get so out of hand that there will be forums called "bar", "baz", "quux", and "quuuux"

    if (!(gonzaga.win))
    {
    foobar = true;
    MessageBox.Show("ARGHGHGH!!!!!");
    return;
    }
    Why set the foobar flag true if you are not going to use it? Why not override Messagbox.Show and send foobar as the arg and have it do the work?
    Attached Images Attached Images
    There are 10 kinds of people in this world.
    Those who understand binary and those who do not.
    "Only a madman or an economist thinks exponential growth can go on forever in a finite world."

    Func FOO

    E .· ` ' / ·. F
    The FOO fuels me.


  12. #12
    Join Date
    Feb 2007
    Location
    Fremont/Wallingford
    Posts
    252

    Default

    Quote Originally Posted by a13coach View Post
    Why set the foobar flag true if you are not going to use it? Why not override Messagbox.Show and send foobar as the arg and have it do the work?
    Good call. I'm glad this board also has a built-in compiler that throws good errors and warnings!

  13. #13
    Join Date
    Feb 2007
    Location
    Somewhere between pain and pleasure
    Posts
    3,650

    Default

    But then again you could take the Perl approach.
    "There's more than one way to do it."

    Far be it for me to parse someone's code...got beat up plenty of times during code reviews.
    Last edited by a13coach; 02-05-2007 at 03:00 PM.
    There are 10 kinds of people in this world.
    Those who understand binary and those who do not.
    "Only a madman or an economist thinks exponential growth can go on forever in a finite world."

    Func FOO

    E .· ` ' / ·. F
    The FOO fuels me.


  14. #14
    Join Date
    Feb 2007
    Location
    Vancouver, WA
    Posts
    16,281

    Default

    This thread is starting to make my head hurt

    .
    youtube - "The Runner"



    Foo Fantasy Football Champ 2013

    Dumbing down the internet, one post at a time

    Foo Fantasy Football Champ 2011

  15. #15
    Join Date
    Feb 2007
    Location
    Somewhere between pain and pleasure
    Posts
    3,650

    Default Sandbagging are you?

    Lothar,
    I thought for sure all this was old hat to you.
    There are 10 kinds of people in this world.
    Those who understand binary and those who do not.
    "Only a madman or an economist thinks exponential growth can go on forever in a finite world."

    Func FOO

    E .· ` ' / ·. F
    The FOO fuels me.


  16. #16
    Join Date
    Feb 2007
    Location
    Vancouver, WA
    Posts
    16,281

    Default

    posting nonsense - yes.

    coding - not so much.
    .
    youtube - "The Runner"



    Foo Fantasy Football Champ 2013

    Dumbing down the internet, one post at a time

    Foo Fantasy Football Champ 2011

  17. #17
    Join Date
    Feb 2007
    Location
    Vancouver, WA
    Posts
    16,281

    Default

    fwiw...

    i took a semester of computer programming at GU - almost 100% fortran, I think. (graduated in 98 and it was probably a soph level class)

    never had to deal w/ it again after that class ended. thank god! (even though I'm pretty sure I got an A in the class)
    .
    youtube - "The Runner"



    Foo Fantasy Football Champ 2013

    Dumbing down the internet, one post at a time

    Foo Fantasy Football Champ 2011

  18. #18
    Join Date
    Feb 2007
    Location
    South Hill, Spokane
    Posts
    4,430

    Default

    there are too many forums to keep up with.... making my head spin

  19. #19
    Join Date
    Feb 2007
    Location
    Vancouver, WA
    Posts
    16,281

    Default

    They should add more forums.

    One titled "Ask Lothar" would be a good addition. A lot of bad advice and incorrect answers could be given...
    .
    youtube - "The Runner"



    Foo Fantasy Football Champ 2013

    Dumbing down the internet, one post at a time

    Foo Fantasy Football Champ 2011

  20. #20
    Join Date
    Feb 2007
    Location
    South Hill, Spokane
    Posts
    4,430

    Default

    if you leave the title "ask..." and that already exists for many of us.

  21. #21
    Join Date
    Feb 2007
    Location
    Somewhere between pain and pleasure
    Posts
    3,650

    Default

    Quote Originally Posted by lothar98zag View Post
    fwiw...

    i took a semester of computer programming at GU - almost 100% fortran, I think. (graduated in 98 and it was probably a soph level class)

    never had to deal w/ it again after that class ended. thank god! (even though I'm pretty sure I got an A in the class)
    Okay then just to make you feel more comfortable.

    PROGRAM SUM3
    !
    ! This program reads in three numbers and sums
    ! and averages them
    !
    IMPLICIT NONE
    REAL :: N1,N2,N3,Average = 0.0, Total = 0.0
    INTEGER :: N = 3
    PRINT *,' Type in three numbers.'
    PRINT *,' Separated by spaces or commas'
    READ *,N1,N2,N3
    Total= N1 + N2 + N3
    Average=Total/N
    PRINT *,'Total of numbers is ',Total
    PRINT *,'Average of the numbers is ',Average
    END PROGRAM SUM3
    There are 10 kinds of people in this world.
    Those who understand binary and those who do not.
    "Only a madman or an economist thinks exponential growth can go on forever in a finite world."

    Func FOO

    E .· ` ' / ·. F
    The FOO fuels me.


  22. #22
    Join Date
    Feb 2007
    Location
    Vancouver, WA
    Posts
    16,281

    Default

    don't make me report you!
    .
    youtube - "The Runner"



    Foo Fantasy Football Champ 2013

    Dumbing down the internet, one post at a time

    Foo Fantasy Football Champ 2011

  23. #23
    Join Date
    Feb 2007
    Location
    Somewhere between pain and pleasure
    Posts
    3,650

    Default

    Ooh alright I'll be good.
    There are 10 kinds of people in this world.
    Those who understand binary and those who do not.
    "Only a madman or an economist thinks exponential growth can go on forever in a finite world."

    Func FOO

    E .· ` ' / ·. F
    The FOO fuels me.


  24. #24
    Join Date
    Feb 2007
    Location
    Fremont/Wallingford
    Posts
    252

    Default

    PROGRAM SUM3
    !
    ! This program reads in three numbers and sums
    ! and averages them
    !
    IMPLICIT NONE
    ...
    Alright that's before my time.

    As a recent graduate of GU, the CS department pounded C++ into our heads (as well as the .NET platform which I now work with at my job). Not sure if that's changed now that CS is in the Engineering dept - I just missed that transition.

    Any cs/enginerds remember suffering through cpen 231?


    ORG $C000
    LDS #$DFFF
    CLR DDRC
    LDAA #2


    ...OK, I'm done. Sorry guys... even that makes my eyes bleed.

  25. #25
    Join Date
    Feb 2007
    Location
    The other Dublin
    Posts
    888

    Default Please go back to discussing Foo

    1 2 3 4 5 6 7 8 9 10

    I reject your reality and substitute my own.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •