On Mon, 5 Sep 2011, Jonathan Wilkes wrote:
----- Original Message -----
From: Mathieu Bouchard matju@artengine.ca They don't call it duck-typing though, and no-one does.
duck-taping? No.
Duck-taping is already the nickname I gave to duck-typing when it's being used as a religious principle like : you should not check types ever... nor ever declare them. Extra points if you don't mention expected types of arguments and instead say what methods should be supported and how they should behave (another form of copy-paste documentation).
How about goose-for-duck-swapping? As in you send a duck (A_SYMBOL), and if the object expects a number then Pd swaps the duck for a goose (A_FLOAT).
both the duck and the goose can float.
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC