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/075368.html below:

Deprecate self

Deprecate self Deprecate selfFredrik Lundh fredrik at pythonware.com
Wed Apr 18 12:23:06 EDT 2001
"Luke" trolls again:
> Java's system works just fine.  It is assumed when you are writing a class,
> that a variable is part of that class.  It makes more sense.  After all why
> wouldn't you assume first that a variable that is  part of a class belongs to
> that class.  If you are dumb and want to put an identical variable in a local
> scope in a function, for example, then you use this.foo to distinguish.  Java
> is more logical IMHO

looks like you haven't studied Python's class model close enough
to actually know what you're talking about here...

(hint: how do you declare class members in Python?)

Cheers /F



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