Thread: Snafu
View Single Post
  #5  
Old April 11, 2023, 12:59 AM
wrholt's Avatar
wrholt wrholt is offline
Sapphire
 
Join Date: Apr 2011
Location: Boston, Massachusetts, USA
Posts: 1,401
Native Language: US English
wrholt is on a distinguished road
A related term, also original coined by US military, is "fubar", which also is an acronym for "fouled up beyond all recognition".

"Fubar" (slightly respelled as "foobar") is also the source for a bit of jargon among computer programmers and computer scientists, which was coined by folks who created the first implementations of UNIX in the 1970s. The early manuals for the programming language "C" used "foo" and "bar" as the names of many example functions. Specifically, when the example code discusses only one function, it is named "foo", and when the example code discusses 2 functions where one function calls the other function, the function "foo" calls the function "bar".

In many of my computer sciences courses at university, most instructors regularly used "foo" and "bar" as arbitrary function names when presenting example code where the function names weren't relevant to whatever information they were trying to present to us.

Last edited by wrholt; April 11, 2023 at 01:13 AM.
Reply With Quote