From: Cyent Date: 2005-05-07T08:29:24+09:00 Subject: Re: What sound does no duck make? On Fri, 06 May 2005 21:26:24 +0900, Lyle Johnson wrote: > On 5/5/05, John Carter wrote: > >> What is the sound of no duck quacking? > > For that matter, if a duck quacks in the forest, and no one is there > to hear it, does it really make a sound? > >> What should nil respond_to? > > I can't tell (based on the setup) if this is a serious question or > not. ;) But if it is a serious question, "nil" at least responds to > the instance methods defined for any Object, since "nil" is an > instance (*the* instance) of NilClass, and NilClass is derived from > Object. I was in the wilderness and there was nothing before me. I told nothing to build me a castle. Nothing happened. When it had finished happening, there was still nothing there. Now imagine, in another world, another universe.... I was in the wilderness and there was nothing before me. I told nothing to build me a castle. The world exploded with a NoMethodError and all died. -- John Carter The Cybernetic Entomologist - cyent@xtra.co.nz http://geocities.yahoo.com/cy_ent I'm becoming less and less convinced of humans as rational beings. I suspect we are merely meme collectors, and the reason meme is only kept on to help count our change.