From: Robert Dober Date: 2006-07-24T21:43:23+09:00 Subject: Re: I'll have the duck! ------=_Part_10670_23262100.1153744999450 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 7/24/06, dblack@wobblini.net wrote: > > Hi -- > > On Mon, 24 Jul 2006, Alex Young wrote: > > > If you're always supplying Duck's functionality as a mixin, you can do: > > > > Duck =3D=3D=3D d > > =3D> true > > > > The beauty of duck-typing is that you don't have to, though. > > I'd go further: the definition of duck typing is that you don't :-) Maybe we can fly. Maybe. But I do not believe so. It just strikes me as if the community is throwing away so much by being, forgive me to be blunt, intolerant about philosophies that are well known, like early failing. Although I said intolerant I want to add immediately that they are nicely so, but quite firmely. I think Dave Thomas was always pretty explicit about saying that duck > typing, in practice as well as theory, is something one does *instead* > of checking class/module ancestry. I think the use of Duck, duck, > quack, etc. as class and method names is kind of misleading. It moves > the class-checking approach into the "duck" namespace -- which means > that "duck typing" gets redefined, and it also means that the thing > originally called "duck typing" is left without a name. I have to say sorry though about this one, I completely lost the original topic in my holy war, good you pointed it out! [Snip ] > > Final note to Alex: much of what's here is in response to the whole > thread, even though it's in a response to your post :-) > > > David > > -- > http://www.rubypowerandlight.com =3D> Ruby/Rails training & consultancy > http://www.manning.com/black =3D> RUBY FOR RAILS (reviewed on > Slashdot, 7/12/2006!) > http://dablog.rubypal.com =3D> D[avid ]A[. ]B[lack's][ Web]log > dblack@wobblini.net =3D> me > > Cheers Robert --=20 Deux choses sont infinies : l'univers et la b=EAtise humaine ; en ce qui concerne l'univers, je n'en ai pas acquis la certitude absolue. - Albert Einstein ------=_Part_10670_23262100.1153744999450--