Guido's new method definition idea
Rhodri James
rhodri at wildebst.demon.co.uk
Sat Dec 6 20:08:13 EST 2008
On Sat, 06 Dec 2008 21:51:51 -0000, Daniel Fetchinson
<fetchinson at googlemail.com> wrote:
> Did you read the blog post? The advantage is having a less confusing
> situation for newbies (confusing the number of arguments to a method
> call).
Experience suggests that newbies don't find this confusing, or at
least not more than momentarily.
I'm -0 on this at the moment. Maybe -0.5. I don't really like the
potential for hideousness like
@staticmethod
def spam.alot(isa, silly, place):
return silly + spam
that's implied by making this a general feature of methods.
--
Rhodri James *-* Wildebeeste Herder to the Masses
More information about the Python-list
mailing list