Deprecate self

piet at cs.uu.nl piet at cs.uu.nl
Wed Apr 18 10:36:10 EDT 2001


>>>>> "Alex Martelli" <aleaxit at yahoo.com> (AM) writes:

AM> "Dave LeBlanc" <whisper at oz.net> wrote in message
AM> news:9bji5k$417$0 at 216.39.170.247...
>> Since self is used for every method of every class, isn't it a bit
>> redundant?

AM> Not really.  Explicit is better than implicit.

>> I don't know of another OO language that makes you manually
>> carry around the "this"/"self" pointer/reference...

AM> Modula-3, for example (I believe 'self' is a reserved word
AM> there; in Python, it's "just" a 'universal' convention).

And Corbascript/IDLscript, which heavily borrowed concepts from Python
-- 
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: P.van.Oostrum at hccnet.nl



More information about the Python-list mailing list