[Python-Dev] Re: LOAD_NAME & classes (original) (raw)
Guido van Rossum guido@python.org
Tue, 23 Apr 2002 14:37:59 -0400
- Previous message: [Python-Dev] Re: LOAD_NAME & classes
- Next message: [Python-Dev] Re: LOAD_NAME & classes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[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/)
- Previous message: [Python-Dev] Re: LOAD_NAME & classes
- Next message: [Python-Dev] Re: LOAD_NAME & classes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]