Python 3K or Python 2.9?

Stefan Behnel stefan.behnel-n05pAM at web.de
Wed Sep 12 08:14:36 EDT 2007


Bjoern Schliessmann wrote:
>> What does "self" have to do with an object model? It's an
>> function/method argument that might as well be hidden in the
>> compiler without ever touching the role it has (if not, why?). I
>> agree that it's needless noise in a language.
> 
> If this was needless, why do C++ and Java have the "this" pointer?

Be careful when you use the word "needless" in the context of Java.

Stefan



More information about the Python-list mailing list