From: Hal Fulton Date: 2004-05-25T22:42:54+09:00 Subject: Re: [RCR] Numeric#of Gavin Kistner wrote: > On May 25, 2004, at 5:08 AM, David Alan Black wrote: > >> A couple of ideas: >> 1. Integer#collect # maybe too vague >> 2. Integer#times! # ! as a warning that results are accumulating > > > Don't method names ending in ! imply that the receiver is being modified. > (Do any methods exist in the core/standard which are so named, but which > do not modify the receiver?) There is at least exit! and I think one or two others. Matz has said that the ! signifies danger in general. > It would be foolish to think that > 3.times! { ... } > could modify the integer 3, but that's what the second suggestion says > to me (despite being a nice attempt at an end-run around the performance > problem of accumulating while only wanting to iterate). It's starting to become unreadable IMO. Hal