D Editions
Vladimir Panteleev
thecybershadow.lists at gmail.com
Sun Jun 9 18:43:51 UTC 2024
On Thursday, 30 May 2024 at 18:31:48 UTC, Atila Neves wrote:
> https://github.com/atilaneves/DIPs/blob/editions/editions.md
>
> Destroy!
I would just like to comment on one aspect of the DIP for now:
the "Examples" section is a bit of a sore sight currently. It's
difficult to get excited about the idea when the proposed actions
it unlocks is "we're changing two defaults and removing three
features without providing an immediate replacement".
Regarding the removal of `lazy`, I'm particularly curious about
the consequent fate of `assert` and `enforce`, two prominent
current users of `lazy. It seems like either way would involve a
compromise:
- Will `assert` fully become "compiler magic", unimplementable in
user code, and `enforce` replaced with an explicit delegate
variant?
- Will both `assert` and `enforce` require an explicit delegate,
thus making unit tests quite a bit more syntactically noisy?
- Will both `assert` and `enforce` become "compiler magic" (and
therefore unimplementable in user code)?
More information about the dip.ideas
mailing list