Movatterモバイル変換


[0]ホーム

URL:


Deprecate self

David C. BrowneDavid.Browne at sdrc.com
Wed Apr 18 13:08:01 EDT 2001


How about checking the URL he furnished you?Dave LeBlanc wrote:> Said reasons being?>> Sending me money turns out to be very useful for a variety of> reasons... convinced?>> Dave LeBlanc>> On Wed, 18 Apr 2001 15:18:57 GMT, "Fredrik Lundh"> <fredrik at pythonware.com> wrote:>> >Dave LeBlanc wrote:> >> Since self is used for every method of every class, isn't it a bit> >> redundant? I don't know of another OO language that makes you manually> >> carry around the "this"/"self" pointer/reference...> >>> >> Of course being new around here, i'm unaware if this has been hissed> >> over in depth previously :-)> >> >http://www.python.org/doc/FAQ.html#6.7> >> >    Q. Why must 'self' be declared and used explicitly in> >    method definitions and calls?> >> >    A. So, is your current programming language C++ or> >    Java? :-) /.../ The idea was borrowed from Modula-3.> >    It turns out to be very useful, for a variety of reasons> >    /.../> >> >Cheers /F> >> >--David BrowneDavid.Browne at sdrc.comEugene, OR"The ignorant are ignorant of their ignorance."


More information about the Python-listmailing list

[8]ページ先頭

©2009-2025 Movatter.jp