[Python-Dev] Papal encyclical on the use of closures (Re: PEP for Better Control of Nested Lexical Scopes)
greg.ewing at canterbury.ac.nz
Tue Feb 21 11:01:51 CET 2006
Josiah Carlson wrote:
> Introducing these two new keywords is equivalent to
> encouraging nested scope use. Right now nested scope
> use is "limited" or "fraught with gotchas".
What you seem to be saying here is: Nested scope use
is Inherently Bad. Therefore we will keep them Limited
and Fraught With Gotchas, so people will be discouraged
from using them.
Sounds a bit like the attitude of certain religious
groups to condoms. (Might encourage people to have
sex -- can't have that -- look at all the nasty diseases
you can get!)
More information about the Python-Dev