From: Harry Ohlsen Date: 2002-10-12T06:53:55+09:00 Subject: Re: Polymorphism, Isomorphism On Sat, 12 Oct 2002 07:45, Judson Lester wrote: > Add a interface() method to Class, and > ClassA.isomorphic?(ClassB) > becomes > ClassA.implements? ClassB.interface True. However, I think it makes more sense to keep the definition of the interface orthogonal to the set of classes. The reason is that really ... IMHO ... you don't need to say "Does x implement the same interface as class C?", but more "Does x implement the interface I need?", generally. Think, for example, of the case where C implements two different interfaces, but you're only interested in one of them. This happens quite a bit. H.