Kagamin, el 15 de octubre a las 17:16 me escribiste: > Andrei Alexandrescu Wrote: > > > I was talking to Walter about Kenji's adaptTo. We both think it's a very > > powerful enabler, but adaptTo is a bland name. After discussing a few > > marketing strategies, I proposed "duck". It's short, simple, and evokes > > "duck typing". > > 1. adaptTo helped me to understand what it does, while duck!Drawable doesn't.
I agree, just "adapt" might be an option, it even has a precedence of something similar in Python (even when the PEP[1] was rejected, PEAK has an implementation[2]). But "duck" is really cryptic (as symbol names invented by Andrei usually are :). [1] http://www.python.org/dev/peps/pep-0246/ [2] http://peak.telecommunity.com/protocol_ref/module-protocols.html -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ ---------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ---------------------------------------------------------------------- Sus discipulos se miraron sin entended hasta que uno preguntose: Peperino, soy Daniel Q. de Olivos tengo 54 años y aún soy virgen. A lo que Peperino respondiole: Si sos ganso, ganso ser. Y lo frotó, y lo curó y lo sanó. A lo que todos dijeron: ¡¡¡Peperino se la come, Peperino se la come!!! -- Peperino Pómoro