From: Doug Glidden <41mortimer@...> Date: 2008-08-30T03:40:47+09:00 Subject: Re: Class === Robert Dober wrote: [snip] > Seriously #is_a? is more readable for sure but #=== has the advantage > to pinpoint the possibility of using a *case* statement. > > Cheers > Robert OT: All true, but also consider the fact that === requires one to remember what it means (=== vs. ==), which is not particularly intuitive (as opposed to is_a?, which is a term most students get drilled into their heads pretty much the first day of their first OO programming course). The confusion is further compounded by the fact that (if I remember my JS correctly) the functionality of === and == in Ruby are exactly reversed from their functionality in JavaScript. Doug -- Posted via http://www.ruby-forum.com/.