From: Christian von Kleist Date: 2007-12-05T04:31:10+09:00 Subject: Re: Why are "Array#push" and "pop" not "push!" and "pop!"? On Dec 4, 2007 1:04 PM, Bill Kelly wrote: > > From: "David A. Black" > > > > [...] I just > > think that Matz's abstraction of these as "dangerous", and dedication > > of the ! to expressing that abstraction, is strikingly elegant and has > > the weight of some kind of logic behind it. It hits a narrower target > > -- it means that there's a whole class of tricky (or whatever) methods > > that have to find some other way to express their trickiness -- but I > > think it's worth it. > > Ah. I think I understand your viewpoint better now; thanks. > > (And if nothing else, at least we can both agree on the "hits a > narrower target" part. ) > > > > Regards, > > Bill > > > > > Well, slice(-1) and slice!(-1) are equivalents for pop (non-modifying) and pop! (modifying), right?