mutable keyword

Jack Applegame via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon May 23 07:08:43 PDT 2016


On Monday, 23 May 2016 at 11:05:34 UTC, Jonathan M Davis wrote:
> I don't know why you think that D violates its own rules 
> frequently though. It's not perfect, but it usually does follow 
> its own rules - and when it doesn't, we fix it (though not 
> always as quickly as would be ideal).
The most PITA for me is lacking mutable references for immutable 
classes. I like immutability and hate Rebindable.
Also, how to embed reference counter into immutable class without 
violating immutability?



More information about the Digitalmars-d-learn mailing list