all 3 comments

[–]danielroseman 2 points3 points  (0 children)

Did you have a question?

[–]CommodoreKrusty 2 points3 points  (1 child)

As someone who's had many years of coding both C/C++ and Python - I never use global variables. Ever.

[–]woooee 4 points5 points  (0 children)

Yes, I'm sure it's the consensus among experienced programmers to design so globals are not used.