+ 4

What does "foo" and "bar" mean? What's their origin?

I've seen lot of examples with variables and methods named "foo" and "bar" and I understand that they're metasyntactic names commonly used as placeholders. But why specifically those names?

6th Apr 2018, 6:41 PM
Rusty.Metal
2 Réponses
+ 4
Check "History and etymology" here: https://en.m.wikipedia.org/wiki/Foobar
6th Apr 2018, 6:45 PM
Damyan Petkov
Damyan Petkov - avatar