Do you think if statement as expression would be nice to have in D?

Daniel N no at public.email
Sat Jun 4 10:20:38 UTC 2022


On Saturday, 4 June 2022 at 10:13:15 UTC, rikki cattermole wrote:
> Here is a question:
>
> How much work would it take to make it work for lets just say 
> if, foreach and switch?
>
> Because this reminds me of the old removal of an if statement 
> for imports story.

Even if it's easy to add... I think "immediately invoked lambda" 
is good enough.




More information about the Digitalmars-d mailing list