From: dblack@... Date: 2003-08-10T20:44:39+09:00 Subject: Re: Ruby and OOP-design (question of an old "procedural person" ;) Hi -- On Sun, 10 Aug 2003, Martin DeMello wrote: > Dan Doel wrote: > > > And if you go back to ruby and duck typing, if foo? returns something > > that evaluates to true/false, then it shouldn't matter if it actually > > is true/false or not. > > Yes if there's a specific documented and relied-on non-'true' true > value. Not sure why I feel so prescriptive about this issue, but I find > the whole thing very nonRubyish in the way it tries to pack two pieces ^^^^^^^^^^ (You mean non_Rubyish, of course :-) > of information into a single primitive value. But isn't that true of all values in Ruby? Meaning, they all pack boolean information intor themselves along with whatever else they are. David -- David Alan Black home: dblack@superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav