+ 3

What is foo & bar?

I have seen many example in any tutorial which contains variables/function named foo() and bar(). can anyone tell me what is the background story/tale behind these name?

26th Sep 2017, 6:42 AM
Trendy Prima Wijaya
Trendy Prima Wijaya - avatar
4 Answers
26th Sep 2017, 7:14 AM
jay
jay - avatar
+ 12
It was a good guess!
26th Sep 2017, 7:19 AM
jay
jay - avatar
+ 4
Some random names creates by the first programmers then it got stuck. Like spam and eggs
26th Sep 2017, 6:43 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 3
Well mine is way off, as a coding convention but well, it's logical 😶
26th Sep 2017, 7:21 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar