From: Hal Fulton Date: 2012-06-20T05:12:48+09:00 Subject: Re: Symbols and Strings... --047d7b15a8a5f28da704c2d8e7f9 Content-Type: text/plain; charset=ISO-8859-1 > > Freezing an object also reduces its contract. > > Kind of. But I consider that a special case because freeze prevents > all mutations but not other operations. It also does not restrict the > range of valid state - it just freezes it. > > Hmm. If a Symbol is-a frozen String, how does that reduce the range of valid state any more than a "real" frozen String? What operations other than mutations are prohibited? Hal --047d7b15a8a5f28da704c2d8e7f9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
> Freezing an object also reduces its contract.

Kind of. =A0But I consider that a special case because freeze prevent= s
all mutations but not other operations. =A0It also does not restrict the range of valid state - it just freezes it.


Hmm. If a Symbol is-a frozen String, how does that red= uce the range
of valid state any more than a "real" frozen Str= ing? What operations
other than mutations are prohibited?

Hal

--047d7b15a8a5f28da704c2d8e7f9--