[Python-Dev] Re: closure semantics

Alex Martelli aleaxit at yahoo.com
Sat Oct 25 19:31:47 EDT 2003


On Saturday 25 October 2003 06:09 pm, Skip Montanaro wrote:
   ...
> I don't see this as a big problem now.  In my own code I rarely use global,
> and never use nested functions.  I suspect that's true for most people.

No doubt it's true that most people only care about their own code, and
don't have much to do with teaching and advising others, mentoring them,
maintaining and enhancing code originally written by others, etc.

So, since my professional activity typically encompasses these weird 
activities, not of interest to most people, and that gives me a different 
viewpoint from that of most people, I guess it's silly of me to share it. 

Sorry if my past well-meant eagerness caused problems; it's obviously 
more sensible for people who never use nested functions to help shape 
their syntax and semantics, than for those who DO use them, after all -- and 
similarly, for people who only care about their own code to help determine 
if 'global' is, or isn't, a cause of problems out there in the wide world of 
Python newbies and users far from python-dev.


Alex




More information about the Python-Dev mailing list