[Python-3000] Removing 'self' from method definitions

Michael P. Soulier msoulier at digitaltorque.ca
Fri Apr 14 15:38:19 CEST 2006


On 13/04/06 Ian Bicking said:

> I propose that the self argument be removed from method definitions.  It 
> would not be removed from other places, e.g., you'd still use 
> "self.foo()", but the definition for that method would be "def foo():".

What happened to...

"Explicit is better than implicit."

?

Mike

-- 
Michael P. Soulier <msoulier at digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-3000/attachments/20060414/d389e202/attachment.pgp 


More information about the Python-3000 mailing list