From: Robert Dober Date: 2007-07-08T17:02:24+09:00 Subject: Re: Polymorphic Code On 7/8/07, Stefan Rusterholz wrote: > For your own good, don't do that. Don't work your way around how a > language works to simulate some patterns you learned in another > language. That just leads to bad code and wasted time (no need to learn > a new language if you just continue to code in the other language). Stefan, thanks for defending the ducks ;). But I feel that you forget that Ruby is perfectly polymorphic as Sharon has shown above. I do not really see how DT and Polymurphy ;) are related. Cheers Robert > > For the ruby way of that, you may want to take a look at > http://en.wikipedia.org/wiki/Duck_typing > > Regards > Stefan > > -- > Posted via http://www.ruby-forum.com/. > > -- I always knew that one day Smalltalk would replace Java. I just didn't know it would be called Ruby -- Kent Beck