Discussion Thread: DIP 1033--Implicit Conversion of Expressions to Delegates--Community Review Round 1

Petar Petar
Wed Apr 22 16:53:09 UTC 2020


On Wednesday, 22 April 2020 at 16:37:28 UTC, Guillaume Piolat 
wrote:
> On Wednesday, 22 April 2020 at 07:41:12 UTC, Mike Parker wrote:
>>
>> Here in the discussion thread, you are free to discuss 
>> anything and everything related to the DIP. Express your 
>> support or opposition, debate alternatives, argue the merits, 
>> etc.
>>
>
> I don't like it. I'm actively avoiding lazy, and delegates are 
> generally not very usable in nothrow @nogc -betterC modes. More 
> easy syntax for delegates sounds not that desirable to me. I'd 
> prefer if lazy was removed.

If this DIP is accepted, `lazy` could be deprecated, as it could 
be fully replaced by scope delegates, which are nothrow @nogc 
-betterC compatible.


More information about the Digitalmars-d mailing list