[Python-Dev] anonymous blocks
Guido van Rossum
gvanrossum at gmail.com
Tue Apr 19 22:27:00 CEST 2005
> > IMO this is clearer, and even shorter!
> But it clutters the namespace with objects you don't need.
Why do people care about cluttering namespaces so much? I thought
thats' what namespaces were for -- to put stuff you want to remember
for a bit. A function's local namespace in particular seems a
perfectly fine place for temporaries.
--
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev
mailing list