why ruby integers are immutable

It says somewhere in http://www.ruby-forum.com/topic/41160
That it’s because they don’t actually point to ‘real’ memory–GC’d VALUE’s…so…it doesn’t make as much sense to ++ them, since it would just be masking an extra assignment. Except I would like it so much. I know it breaks the rules, but please make it easy on us. :)
-=R

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>