Fredrik Lundh <fredrik at pythonware.com> wrote:

> > Thank you for your explanation; I'd rather read this in the FAQ rather than 
> > a
> > moot comparison with Java's inconsistent design.
>
> if you have comments on the FAQ entries, post them over there.
>
> note that the FAQ entry isn't about len(), though; it's about generic
> functions in general.

Something along the lines of "a generic function might also do other
smart things
apart from just calling the appropriate methods on its argument(s),
such as ..." would help (rephrased to match the FAQ's style).

> (and I completely disagree that Mike's observation is moot: consistency
> is a fundamental part of Python's design, and mechanisms that helps
> people keep their code consistent without even noticing is an important
> part of why things are that way.)

Striving for consistency without enforcing interfaces seems self defeating.

George
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to