Re: explicit protocols and duck typing

2008-01-27 Thread Terry Reedy
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | Hi all, | | As I understand it, the idea behind duck typing is that you just take | an object and if it has the methods you want to use you use it | assuming it to be the right type of object. I'm interested in | extending this idea a

Re: explicit protocols and duck typing

2008-01-27 Thread Arnaud Delobelle
On Jan 27, 7:10 pm, [EMAIL PROTECTED] wrote: > Hi all, > > As I understand it, the idea behind duck typing is that you just take > an object and if it has the methods you want to use you use it > assuming it to be the right type of object. I'm interested in > extending this idea a bit, but I feel t

explicit protocols and duck typing

2008-01-27 Thread dg . google . groups
Hi all, As I understand it, the idea behind duck typing is that you just take an object and if it has the methods you want to use you use it assuming it to be the right type of object. I'm interested in extending this idea a bit, but I feel the sort of thing I have in mind has already been thought