[REBOL] Re: On mutability and sameness
From: kenneth:nwinet at: 17-Jun-2001 17:46
Joel, I'm being dense again.
When you say the integers are immutable in Rebol (implying they may be
mutable in other languages?); I'm seeing a distinction without a difference.
You referred to mutating verses replacing.
> a: 42
> a: a + 1 ;=43
Could I not see this as an example of mutating the rightmost bit?
Are you saying a new symbol 'a' is created in a table so that the place
where 42 is stored is unrelated to the place where 43 is stored?
The truth is out there (but unlike the x-files I'm about to be enlightened!
> Mutable: capable of being changed; read/write
> Immutable: incapable of being changed; read-only