Proposal for removing self

Ishwar Rattan rattan at cps.cmich.edu
Thu Aug 26 01:23:46 EDT 2004


"Brett C." <brett at python.org> wrote in message news:<cgj4jf$15a at odak26.prod.google.com>...
> No thanks.  This is a common suggestion and Guido has said it ain't
> going to happen.  I personally like 'self' a lot because ambiguity from
> reading code goes away.  It is easy to not see a '.' but not so for
> 'self.' .  It also makes teaching OOP to people much easier since you
> don't need to explain why some variables and method calls are to the
> instance but  other are not.  "Explicit is better than implicit".

I concur for keeping self intact, it does provide clarity in code writing
and reading.

-ishwar



More information about the Python-list mailing list