[Python-Dev] Re: LOAD_NAME & classes

Guido van Rossum guido@python.org
Tue, 23 Apr 2002 14:37:59 -0400


> [Guido van Rossum]
> > But Python *is* unique in that it doesn't require declarations.  (I've
> > got to admit that the Perl example saddened me.  But then in Perl,
> > local variables are a recent invention. :-)
> 
> Guido, I miss the point of the second sentence.  Why were you saddened?
> Don't you prefer _not_ having to declare locals, as Python does now?
> 
> François Pinard   http://www.iro.umontreal.ca/~pinard

François, I was sad because Perl seemed to use dynamic scoping when
you declare a local variable.  Tim has since explained that Perl's
local is in fact ancient.  I'm also sad that Perl doesn't default to
locals, but that's not my problem.

--Guido van Rossum (home page: http://www.python.org/~guido/)