DMD 2.100, bring ont he attribute soup
deadalnix
deadalnix at gmail.com
Sat May 28 23:49:32 UTC 2022
On Saturday, 28 May 2022 at 21:22:37 UTC, Walter Bright wrote:
> On 5/27/2022 1:53 AM, Dukc wrote:
>> DIP1000 is sure a difficult concept to learn,
>
> It did until recently have a serious usability problem in that
> it was hard to discern what `ref return scope` did. That has
> been replaced with a simple rule.
I find it marvelous that you can type this and not be like "wait
a minute, something went sideways really badly here".
You really needed borrow and own as semantic. Borrow is
adequately represented as scope, and owning as a new type
qualifier.
Instead, we get "ref return scope" and the whole damn thing can
only track things on the stack.
More information about the Digitalmars-d
mailing list