Deprecate self

Martin von Loewis loewis at informatik.hu-berlin.de
Wed Apr 18 07:51:54 EDT 2001


whisper at oz.net (Dave LeBlanc) writes:

> 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...

In Smalltalk, invocations of operations on self always require to
provide the self argument. You don't have to declare it as a method
argument, though.

Regards,
Martin




More information about the Python-list mailing list