from what i’ve learned from the source code so far: variables are the most used mutable entities, and they point mostly to immutable stuff. the only weird case is when variables point to other variables.
i don’t believe there is such a thing as mutable ‘class’ fields, except when such fields are variables. .. i may be completely wrong here - but that’s because i’m a newbie. cheers, Robert. On 10 May 2014, at 18:30, David Brown <[email protected]> wrote: > On Fri, May 09, 2014 at 06:40:37PM -0500, Mark van Gulik wrote: > >> can build an object in which x maps to 5 and y maps to "cheese". Note >> that the object is immutable and identityless, just like a map. > > I'm also curious how the mutable fields of classes are implemented. > > David
