Hacker News new | ask | show | jobs
by sillythrowaway7 236 days ago
It is a pretty common scenario if you don’t follow almost two decades worth of best practices and suggested alternatives and advice
1 comments

Can you show us some of this advice?
... Not using globals? Pass the value around, use recursion, and keep state as local as possible.
I'd like you to show:

How to write Python code with no globals

And a source other than you saying you should do it this way