What is foo,bar,del? Wht is it coming to say | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is foo,bar,del? Wht is it coming to say

25th Jun 2019, 7:50 AM
vicky sfc
vicky sfc - avatar
3 Answers
+ 2
Metasyntactic variables used commonly across all programming languages include foobar, foo, bar, baz, qux, quux, quuz, corge, grault, garply, waldo, fred, plugh, xyzzy, and thud
25th Jun 2019, 8:08 AM
Qbix
Qbix - avatar
+ 2
Qbix is right. They are like playfull variable names,they mean nothing really. But del is actually a built in python expression. Its used to delete objects that are no longer needed.
25th Jun 2019, 8:18 AM
Mensch
Mensch - avatar
+ 1
foo and bar are just example variable names, which mean that you can actually put anything in their place (following variable naming rules).
25th Jun 2019, 11:20 AM
Seb TheS
Seb TheS - avatar