From: Jim Weirich Date: 2003-09-13T11:43:25+09:00 Subject: Re: Duck Typing On Fri, 2003-09-12 at 21:29, dblack@superlink.net wrote: > Or even, more generally, left with the impression that there's an > on/off switch: if you say "is_a?" a lot, then you're not doing duck > typing, whereas if you say "respond_to?" a lot, then you are -- when > in fact it's really Ruby that's doing the duck typing, and you're > just deciding how to react to it. Exactly! > I think I remember the phrase "duck-typed language" from one of your > posts a while ago, which I thought really summed it up (though it may > be a harder phrase to break people in with :-) It captures the idea > that the inferential, dynamic concept of type resides in the language > itself. Hmmm ... this (http://blade.nagaokaut.ac.jp/ruby/ruby-talk/79002) is the only post from goggle that had my name and duck typed language. I'm not sure its the one you were thinking about. -- -- Jim Weirich jweirich@one.net http://onestepback.org ----------------------------------------------------------------- http://www.ruby-lang.org -- Making is safe for Duck Typers everywhere!