From: Kent Dahl Date: 2003-09-18T00:02:04+09:00 Subject: Re: Ruby and OOP-design (question of an old "procedural person" ;) Dan Doel wrote: > It was just an example. #nil? could be written that way, although then > it'd be pointless, since > > if obj ... > > Would be exactly the same as > > if obj.nil? ... > > The only difference would be some readability. .... and the special case where obj==false. -- (\[ Kent Dahl ]/)_ _~_ _____[ http://www.pvv.org/~kentda/ ]_____/~ ))\_student_/(( \__d L b__/ (pre-) Master of Science in Technology ) ( \__\_�|�_/__/ ) _)Industrial economics and technological management( \____/_�_\____/ (____engineering.discipline_=_Computer::Technology___)