Talk Python To Me cover image

#404: Clean Code in Python

Talk Python To Me

00:00

Is There a Way to Minimize Global Variables?

Global Scope says, look, you should avoid having global variables. Sometimes you'll need global variables, but they shouldn't be the default. And so modules and module level variables are very, there's something that you don't want to have too many of. But they're not as out of a whack with the rest of programming, as I think maybe people might initially see them are.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app