From: Navindra Umanee Date: 2005-02-22T09:39:05+09:00 Subject: Re: destructive! operations Hal Fulton wrote: > I have always had the feeling that there were interesting use cases > for this, but I have never known an example. :) It's a bit of behavior > that I've just learned to accept via Matz's explanation. In short, > I'm used to it. > > This is in contrast to the fact that certain bang methods sometimes > return nil -- that behavior I've also seen justified, and can easily > imagine use cases, but I still have never liked it. It's one of my > most common bugs, personally. And not once have I ever *wanted* the > "return nil" behavior. Ahh, good to know I'm not alone in the world! Btw, in case anyone gets the wrong idea, all this complaining just means I just love Ruby more. :-) Cheers, Navin.