Why spam and eggs? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 21

Why spam and eggs?

Some days ago, i had read about spam and eggs in a lesson. Where does it come from? Who knows it?

7th Nov 2016, 6:52 PM
U. V. W.
U. V. W. - avatar
8 Answers
+ 33
"The Python programming language, named after Monty Python, prefers to use spam, ham, and eggs as metasyntactic variables, instead of the traditional foo, bar, and baz; the name "egg" is also used for an installation package format for Python libraries." taken from the wikipedia page named: Spam (Monty Python)
7th Nov 2016, 6:59 PM
Burey
Burey - avatar
+ 12
Gary Butler "foo" "bar"
28th Mar 2018, 4:34 AM
Burey
Burey - avatar
+ 10
It is just a Monty Python reference, plus it is a convenient and short name, so it became traditional. You don't actually need to know it.
8th Nov 2016, 12:08 AM
Isaac Pace
Isaac Pace - avatar
+ 9
nice information @burey👏👏👏👏👌👌☺️
15th Oct 2017, 8:51 AM
Mac
Mac - avatar
+ 7
lol stupid auto correct is foo bar
28th Mar 2018, 5:46 AM
Gary Butler
Gary Butler - avatar
+ 5
hey don't forget food and bar. lol
27th Mar 2018, 10:50 PM
Gary Butler
Gary Butler - avatar
0
hahaahahhaah!
9th Jun 2020, 5:13 AM
‎‏‪‏‪‏‪Vinícius dos Reis Lobo Silva‬‏‬‏‬‏‎
‎‏‪‏‪‏‪Vinícius dos Reis Lobo Silva‬‏‬‏‬‏‎ - avatar
0
wonders
7th Sep 2020, 1:12 PM
خديجة
خديجة - avatar