From: Klaus Stein Date: 2005-05-19T20:50:14+09:00 Subject: Re: RCR 303: nil should accept missing methods and return nil Robert Klemme wrote: > Klaus Stein wrote: >> >> obj.meth1().meth2().nil_friendly.meth3() >> ========================================================== >> >> [ ... ] >> >> Comments? > > What about #nil? > nil.nil? -> true nil.nil_friendly.nil? -> false We _either_ want to use #nil_friendly _or_ test for nil, so I don't think this gives any problem. If I explicitly use #nil_friendly, I say, that I don't care about this being nil, so I will not test for nil. Klaus Stein -- http://lapiz.istik.de/ The Answer is 42. And I am the Answer. Now I am looking for the Question.