From: Martin DeMello Date: 2003-11-21T23:32:19+09:00 Subject: Re: "stereotyping" Sean O'Dell wrote: > Normal Ruby types are so dynamic, I don't think you could ever base type > checking on them. Not without excessive runtime overhead. I could be wrong, > but that just seems like such a dark, ugly alleyway. Types, as required by > method parameters in my proposal, would be interface names, and objects > passed to those methods must completely fulfill the interface required. Ah, okay. That does sound like a promising approach, particularly since you can annotate existing ruby objects with interface names. martin