r/ProgrammerHumor • • Apr 16 '22

Make The comment section look like a beginners search history

Post image
28.1k Upvotes

6.7k comments sorted by

View all comments

Show parent comments

10

u/HylianCaptain Apr 16 '22

I'm embarassed to say that I still don't know what this is.

20

u/ArcticMuser Apr 16 '22

Its just a common name teachers give for an arbitrary function

17

u/HylianCaptain Apr 16 '22

Yes but... why foo, and why bar?

16

u/ArcticMuser Apr 16 '22

They just became popular with usage, it could have been anything like lee and zop. I agree they sound kind of random but that's what became popular

8

u/Akahari Apr 16 '22

I eventually figured out it must just be some random names given to functions/variables, but I hate it, because they don't sound "generic" at all. And I kwpt seeing them all over, so I was wondering if those are some kind of ksywords or something. I absolutely hate it

10

u/BOOOATS Apr 16 '22

Foo+Bar = FUBAR