Deprecate self

Fredrik Lundh fredrik at pythonware.com
Wed Apr 18 11:18:58 EDT 2001


Vadim Chugunov wrote:
> Sure, we could get rid of 'self'.  ...and then immediately invent coding
> convention that allows people to distinguish class variables from globals
> and locals.  Like 'm_spam'.

before you get that far, you have to invent something that
allows *python* to distinguish class variables from globals
and locals...

Cheers /F





More information about the Python-list mailing list