Proposal for removing self

Brett C. brett at python.org
Thu Aug 26 00:41:51 CEST 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