A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/088922.html below:

Deprecate self

Deprecate self Deprecate selfGrant 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4