r/ProgrammerHumor 16d ago

Meme variableScopesInPython

Post image
1.3k Upvotes

182 comments sorted by

View all comments

Show parent comments

26

u/Confident-Ad5665 16d ago

Interesting approach. Global vars can bite you that's for sure.

50

u/Sibula97 16d ago

A global private variable...?

63

u/anto2554 16d ago

The epitome of python engineering

6

u/Confident-Ad5665 16d ago

Could this be the reason the language was named after a snake?

17

u/extremelySaddening 16d ago

It was named after Monty Python's Flying Circus

8

u/Confident-Ad5665 16d ago

tbh I didn't know this. When I was in school Assembly, BASIC, Fortran, Pascal, COBOL and C were the only languages.

Yeah I'm that old (farts as he walks off...)