Should out/ref parameters require the caller to specify out/ref like in C#?

Stanislav Blinov via Digitalmars-d digitalmars-d at puremagic.com
Mon May 29 13:00:12 PDT 2017


On Monday, 29 May 2017 at 19:14:54 UTC, Jonathan M Davis wrote:
> On Monday, May 29, 2017 17:19:27 Stanislav Blinov via 
> Digitalmars-d wrote:
>> `in` is `const scope`
>
> Walter recently changed is that in is now just const, because 
> scope was not properly implemented previously, and folks were 
> using in all over the place, so the odds of code breaking when 
> scope was properly implemented were high.
>
> - Jonathan M Davis

Huh, I missed that... peculiar change. :\ So now it would break 
for people who did use `in` properly?

In any case, to be clear, I certainly meant `const scope`.


More information about the Digitalmars-d mailing list