Deprecate self
Grant Griffin
not.this at seebelow.org
Wed Apr 18 12:20:10 EDT 2001
In article <9bji5k$417$0 at 216.39.170.247>, whisper at oz.net says...
>
>Since self is used for every method of every class, isn't it a bit
>redundant?
No more than the phrase "a _bit_ redundant" <wink>.
Actually, there are both practical and aesthetic reasons for "self". I won't
bore you with them except to say that the aesthetic reasons are based in the
Tim's axiom "explict is better than implicit".
>I don't know of another OO language that makes you manually
>carry around the "this"/"self" pointer/reference...
Then you obviously haven't read the other responses to your post. <wink>
>
>Of course being new around here, i'm unaware if this has been hissed
>over in depth previously :-)
Sure. Moral of the story: Python and its users have high self-esteem.
it'll-grow-on-you-ly y'rs,
=g2
_____________________________________________________________________
Grant R. Griffin g2 at dspguru.com
Publisher of dspGuru http://www.dspguru.com
Iowegian International Corporation http://www.iowegian.com
More information about the Python-list
mailing list