DIP1000: The return of 'Extend Return Scope Semantics'

Atila Neves atila.neves at gmail.com
Tue Jun 1 16:03:41 UTC 2021


On Thursday, 27 May 2021 at 19:03:53 UTC, Joseph Rushton Wakeling 
wrote:
> On Wednesday, 26 May 2021 at 12:36:42 UTC, Atila Neves wrote:
>> [...]
>
> I understand that motivation, but at the same time, it's not 
> necessarily good to reduce flexibility for the programmer.  I 
> think I would rather have to clearly annotate my target ref/out 
> parameters every time, than rely on a "magic" rule like "the 
> first parameter is the targeted one".
>
> [...]

I agree with all of this. The problem is of course that pesky 
idea that will neatly tie everything up.


More information about the Digitalmars-d mailing list