Why the 'self' argument?

Michael Peuser mpeuser at web.de
Sat Sep 6 07:07:13 EDT 2003


"John Roth" <newsgroups at jhrothjr.com>

> You could still give them different names. The proposal is to eliminate
> the need to specify "self" in the method header, not in the code in the
> method body. That's a different issue, and I don't know of any language
> that manages to do it consistently.

You'll run into all the problems known from the Pascal with-statement. And
that's not only a readability matter.

Kindly
Michael P






More information about the Python-list mailing list