Skip to main content


By April 18, 2011No Comments

In all my time as a student of computer science i was always intrigued by the examples that authors used in their books on programming.Whenever they explained any program with functions they assumed two functions foo() and bar().

for ex: consider the following  code :


int a=5, c;

int b=6;


return c;




int d=8, e;




To all the programmer buddies out there please bear with my dumb example. It is just a means to an end. What i would like to bring to your notice is however the two function names themselves; foo() and bar(). Put them together; foobar and they sound similar to… Voila! FUBAR!!!!

I was completely taken aback the first time is saw these words on an international book nonetheless. The authors had a great sense of humor and what better way have a laugh than to incorporate something like this in a book on programming!!

To the uninformed and those who haven’t kept up with my status updates , FUBAR is military terminology for :

F***ed Up Beyond Any Recognition. used mostly in situations where no kind of crying or begging will lead to a  Ctrl+Z.

For ex : The software is ready for deployment and you decide to clean up the system today because u like everything in order. Ony you decide to trry out the new software which promises DoD level defrag and cleaning of the hard disk and you say yes to the little box with the red exclamation sign which says “This procedure is irreversible!”, only to realise that u accidentally selected the folder that has the entire code and the backup ( Go with me on this one guys! i know you don’t keep you backups together with the code..:D). So your situation can be  described in one word : you are FUBAR’ed!!

ex no. 2: Your best friend is getting married and you have the ring. ( your best friend is catholic..:P). well you decide to go to the bathroom and lean over the commode to flush, and you hear a clink.!! bang you just dropped the ring into the commode and flushed it…FUBAR’ed!!!


So now that you have an idea of how FUBAR can be used next time you start reading up on basic programming, just look out for the elusive foo and bar..:D



Webmaster Motu!


PS : you might wanna read up on these

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.