On 11/22/06, Guido van Rossum <[EMAIL PROTECTED]> wrote:
> I'd much rather have a few "big" interfaces (Number,
> RealNumber, Integer) than lots of small ones
> Pedroni-style (number-that-support-exponentiation,
> number-that-supports-bitwise-and,
> number-that-supports-left-shift, ...?).

My understanding is that the Pedroni-style interfaces are big; they
are just decomposable.

File would be a (large) interface, but you could also specify that you
only cared about (or only implemented) the subset consisting of
File.close and File.write, in case you wanted something sort-of-like
an existing interface.

-jJ
_______________________________________________
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