First Draft: ref For Variable Declarations
Walter Bright
newshound2 at digitalmars.com
Sat Apr 13 15:55:37 UTC 2024
On 4/13/2024 6:06 AM, bachmeier wrote:
> 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.
? The DIP says they've been used in other contexts. I don't see how this is not
relevant.
More information about the dip.development
mailing list