From: Austin Ziegler Date: 2003-11-20T05:53:07+09:00 Subject: Re: "stereotyping" (was: Re: Strong Typing (Re: Managing metadata about attribute types) On Thu, 20 Nov 2003 02:51:02 +0900, Sean O'Dell wrote: > Actually, kind_of? is far more informative. kind_of? indicates > that it belongs to a pre-described interface (a contract), with a > fixed collection of methods with parameters which are also known. Not in Ruby, it doesn't. #kind_of? tells you that it has a particular name in its ancestry. Nothing more, nothing less. Treating a name as a contract is improper, because that's not the case at all. -austin -- austin ziegler * austin@halostatue.ca * Toronto, ON, Canada software designer * pragmatic programmer * 2003.11.19 * 15.50.40