PyMyth: Global variables are evil... WRONG!
python.list at tim.thechases.com
Tue Nov 12 12:32:09 CET 2013
On 2013-11-11 20:46, Rick Johnson wrote:
> Yes, and i agree. But you cannot "hide" everything. There
> will always be a need to share information.
You may not be able to (or want to) hide everything, but sharing
should at least happen over defined protocols (functions/methods).
Otherwise, you wander off into the weeds of hackery and
monkey-patching which makes maintaining the code a lot hairier.
More information about the Python-list