[ot] Scala gets a system for tracking immutability

Pelle Månsson pelle.mansson at gmail.com
Fri Mar 12 10:52:19 PST 2010


On 03/12/2010 07:18 PM, tim wrote:
> The system not only allows to check whether a class is immutable, it also allows tracking immutable references (aliases) to potentially mutable objects. It guarantees that no state modifications are performed through an immutable reference."

Wouldn't that be equivalent to const, not immutable?



More information about the Digitalmars-d mailing list