Namespace pollution

Dirk-Ulrich Heise hei at adtranzsig.de
Mon Jan 31 09:32:19 EST 2000


In the recent whitespace war,
some people said "Python is such an expressive
language, you need only short functions.", "don't indent
too much, that's bad style", even Linus Thorvalds was
quoted (who likes 1 TAB = 8 spaces indentation to not
lose control)...

I've got one problem with all this stuff:
I end up with dozens of helper functions that are
called exactly one time. They pollute the namespaces
of the module or class they're defined in. I hate polluted
namespaces.

How do others cope with this problem (that does not only
apply to Python)?

--
Dipl.Inform. Dirk-Ulrich Heise
hei at adtranzsig.de
dheise at debitel.net







More information about the Python-list mailing list