On Mon, 2005-07-11 at 15:16 +0200, Ingo Blechschmidt wrote:

>   Bar.new.isa(Object);    # true
>   Bar.new.isa(Class);     # false
>   Bar.new.isa(Foo);       # true
>   Bar.new.isa(Bar);       # true

I'd like to go on a tangent to suggest that anyone who uses .isa() in
actual real code ought to be doing something really really tricky, for
which there absolutely is no other solution.

Alternately, it's okay with me if .isa() is actually syntactic sugar
for .does(), thought I don't expect much agreement on that.

-- c

Reply via email to