Discussion Thread: DIP 1033--Implicit Conversion of Expressions to Delegates--Community Review Round 1
kinke
noone at nowhere.com
Wed Apr 22 17:48:35 UTC 2020
On Wednesday, 22 April 2020 at 16:53:09 UTC, Petar Kirov
[ZombineDev] wrote:
> If this DIP is accepted, `lazy` could be deprecated, as it
> could be fully replaced by scope delegates, which are nothrow
> @nogc -betterC compatible.
We don't need the DIP for that. It would just allow not having to
touch the call sites (just the lazy *params*), but as said, I
think the arguments should be forced to be converted to regular
delegates too, for legibility and less confusion.
More information about the Digitalmars-d
mailing list