From: Charles Hixson Date: 2003-11-20T07:09:58+09:00 Subject: Re: "stereotyping" (was: Re: Strong Typing (Re: Managing metadata about attribute types) Sean O'Dell wrote: >On Wednesday 19 November 2003 01:01 pm, Chad Fowler wrote: > > >>On Thu, 20 Nov 2003, Sean O'Dell wrote: >> >>... >> >>As demonstrated previously in this thread, class and/or module inheritance >>checking *doesn't* give you any info about what a method does or what >>parameters it takes. >> >> > >Actually, it tells you exactly. If a class inherits from String, you know it >has all the methods String does, and you know exactly what parameters they >... Sean O'Dell > No, you don't know that at all. It's a reasonable presumption, but any, or all, or the methods that you think are there might have been overridden. And might do something totally different. And this may be for either a good reason or a silly reason.