Topic Tag

best-practices

Found 1 questions related to this topic.


Programming May 30, 2026

Is it always bad practice to use global variables in Python scripts, or are there justified exceptions?

I'm working on a data processing script where a few configuration parameters are truly global across multiple functions and modules. I've been told global variables are evil, but p...

Posted by @sophiathomas4
0 Answers