[Python-3000] Special methods and interface-based type system

George Sakkis gsakkis at rutgers.edu
Wed Nov 22 22:48:11 CET 2006


On 11/22/06, Fredrik Lundh <fredrik at pythonware.com> wrote:
> Guido van Rossum wrote:
>
>  > Ivan Krstić explained this more concise in his message, which arrived
>  > after I'd written all this up.
>
> which is a good thing, because your post is a much better version of
> the corresponding FAQ entry than what we came up with when this was last
> discussed in this thread (last week, I think?).  I hope you don't mind
> me stealing it ;-)
>
> cheers /F


Although I don't necessarily agree with the arguments from a puristic
point of view ("then why not make keys(), values(), items(), read(),
write(), ... builtin GFs ?"), they are indeed a better answer to the
FAQ entry. After all, HCI-based arguments are usually a fancier way of
saying "it's a matter of taste" and arguing against them is like
arguing that green is a better colour than red.

George


More information about the Python-3000 mailing list