Gaah, close this thread! ;) Cheers Florian Am 08.11.2009 um 21:26 schrieb Tony Arcieri: > On Sun, Nov 8, 2009 at 1:15 PM, Walton Hoops > <walton / vyper.hopto.org> wrote: > >> Incorrect. In fact the very first message in this thread provided an >> example of redifining Fixnum in such a way that it was mutable. >> > > No it didn't, that post created a new class called "FixNum" > > And again, that's beside the point, which is to allow the expected "+ > +" > semantics for immutable Numerics while also allowing in-place > incrementation > for other classes which may store a mutable value, such as counters > (whose > backing store may be a database, memcache, etc) > > That would provide a truly Ruby-like ++ experience, aside from the > fact you > can't redefine #++ for a Numeric, which probably isn't a good idea > anyway. > > -- > Tony Arcieri > Medioh/Nagravision