First Draft: ref For Variable Declarations
bachmeier
no at spam.net
Sat Apr 13 13:06:42 UTC 2024
On Friday, 12 April 2024 at 21:39:59 UTC, Walter Bright wrote:
> On 4/12/2024 2:34 PM, Lance Bachmeier wrote:
>>> Decades of successful use have clearly demonstrated the
>>> utility of this form of restricted pointer.
>>
>> It would be useful to expand on this. It obviously hasn't been
>> used for decades in D programs if you're proposing it as a new
>> language feature. I don't remember ever using it in any
>> language.
>
> It's been used as ref function parameters and foreach ref
> parameters, as mentioned in the DIP.
Then you're missing the very important qualification that they've
been used successfully in other contexts. That doesn't provide
evidence relevant to this proposal.
More information about the dip.development
mailing list