My Reference Safety System (DIP???)

Zach the Mystic via Digitalmars-d digitalmars-d at puremagic.com
Mon Mar 2 05:30:37 PST 2015


On Monday, 2 March 2015 at 08:59:11 UTC, deadalnix wrote:
> On Monday, 2 March 2015 at 00:37:05 UTC, Zach the Mystic wrote:
>>> I'm sure many inc/dec can still be removed.
>>
>> Do you agree or disagree with what I said? I can't tell.
>
> Yes, but I think this is overly conservative.

I'm arguing a rather liberal position: that only in a very 
exceptional case do you need to protect a variable for the 
duration of a function. For the most part, it's not necessary. 
What am I conserving?


More information about the Digitalmars-d mailing list