From: ES Date: 2005-03-20T03:27:11+09:00 Subject: Re: strip and its evil brother strip! In data 3/19/2005, "Martin DeMello" ha scritto: >Florian Gross wrote: >> So they are optimizations for this case: >> >> a = a.strip > >It'd be nice to similarly optimise > >a.strip!.upcase! > >without ever having to create and discard a new object. I'd contend it's not even about optimization. Simply _conceptually_ it's cleaner if, when I want to change object x, I can actually do so rather than create a new object and fiddle with 'references' and 'variables'. >martin E