From: Paul Smith Date: 2009-11-05T03:21:11+09:00 Subject: Re: Ruby doesn't implement x++ for Fixnum's because ??? On Wed, Nov 4, 2009 at 6:16 PM, Tony Arcieri wrote: > On Wed, Nov 4, 2009 at 10:23 AM, Martin DeMello wrote: > >> And how exactly would you change the value of 1 in place? >> > > You don't.  Are you insinuating the behavior of Fixnums isn't already > special cased to begin with? a = 1 a.class #Fixnum a++ # a is now 2 1.class #Fixnum 1++ # Illegal So although a is a Fixnum, and 1 is a Fixnum, they respond to ++ differently? > > -- > Tony Arcieri > Medioh/Nagravision > -- Paul Smith http://www.nomadicfun.co.uk paul@pollyandpaul.co.uk