[Python-3000] iostack and Oh Oh (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Dec 2 02:59:39 CET 2006


Paul Moore wrote:

There is no expectation that all/most (or even many!) libraries would be based on ABCs. Duck typing would remain the norm.

But even if there are only a few things that don't honour duck typing, it will have an effect on everyone, because there will always be some anxiety that you may trip over one of them.

Also, if there is an officially-sanctioned formal mechanism, there's little to stop the "few" from growing into "many" over time. It'll be much harder to argue that such things shouldn't be done as a matter of course. "If it's so bad, why is there all this stuff in the language to support it?" people will ask. And Java programmers will just use it anyway without even thinking...

-- Greg



More information about the Python-3000 mailing list