Proposal for removing self

Brett C. brett at python.org
Wed Aug 25 18:41:51 EDT 2004


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".




More information about the Python-list mailing list