From: Robert Dober Date: 2008-11-29T05:56:26+09:00 Subject: Re: Ruby's duck typing On Fri, Nov 28, 2008 at 7:25 PM, Brian Adkins wrote: > Robert Dober writes: > >> On Fri, Nov 28, 2008 at 2:35 AM, Brian Adkins wrote: >>> Robert Dober writes: >> >> There is an old joke: How do you call a dear without eyes? No idea! >> And how do you call a dear without eyes and legs? Still no idea. >> Unfortunately the later applies to what you say :( >> Can you give an example please. > > I have no idear what you're talking about above, but the following > might help: You got it :) > > http://gigamonkeys.com/book/object-reorientation-generic-functions.html Well Ruby does not have method composition but everything, especially the generic part, is super-seeded by the dynamic typing model. Robert -- Ne baisse jamais la tête, tu ne verrais plus les étoiles. Robert Dober ;)