Baptiste Carvello wrote:
> "if it looks like a duck from half a mile away, then it *might* be a duck"
>
> Sometimes, you just don't want to walk half a mile for nothing :)
That's beautiful. Now we just need somewhere to put a QOTW for the Py3k list ;)
> Sorry for this "philosophical" post. I hope it helps clarify the current
> discussion about what is really duck typing.
It mixed in a bit of the difference between EAFP and LBYL, too. It was one of
the better descriptions I've seen, though :)
Cheers,
Nick.
--
Nick Coghlan | [EMAIL PROTECTED] | Brisbane, Australia
---------------------------------------------------------------
http://www.boredomandlaziness.org
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com