power of explicit self?

Grant Edwards invalid at invalid.invalid
Wed Dec 16 09:56:17 EST 2009


On 2009-12-16, Gabriel Genellina <gagsl-py2 at yahoo.com.ar> wrote:
> Fire Crow <me at firecrow.com>:
>
>> > Nowhere, I'd say. An *implicit* self would have to be implemented
>> > somewhere in the compiler -- but an explicit self doesn't. It's
>> > homogeneous, always name-dot-attribute; the name 'self' is not special at
>> > all.
>
>> This is I find very interesting, If I understand your comment
>> correctly, one of the advantages of implicit self is that it
>> does not need any special treatment, it's handled like any
>> other name-dot-attribute.
>
> Yes.

I presume you both meant that is an advantage of explicit self
not implicit?

-- 
Grant Edwards                   grante             Yow! What's the MATTER
                                  at               Sid? ... Is your BEVERAGE
                               visi.com            unsatisfactory?



More information about the Python-list mailing list