From: Jim Freeze Date: 2003-03-24T22:21:56+09:00 Subject: Re: Types (was Re: Ruby lecture slides (was Strong advantages over Python)) On Monday, 24 March 2003 at 16:33:35 +0900, Dave Thomas wrote: > > Take this example: > > class Fred > def shout > puts "wilma" > end > end > > f = Fred.new > > o = Object.new > def o.shout > puts "wilma" > end > > 'f' and 'o' have different classes (Fred and Object respectively) but > they have indistinguishable types (for all intents and purposes). In Thanks for the fine example, but for those of us who are a little slow, what exactly are the types of 'f' and 'o'? Thanks -- Jim Freeze ----------