braceless with statements

Elronnd elronnd at elronnd.net
Sun Nov 14 06:54:53 UTC 2021


On Saturday, 13 November 2021 at 14:42:55 UTC, Steven 
Schveighoffer wrote:
> This introduces a new scope the same as a `with:` would 
> introduce a new scope (and actually is simpler). Have you had 
> confusion about that feature before? It makes perfect sense to 
> me.

FWIW I think with: is a good idea.  However there is an important 
different between it and scope(exit/...): the latter binds no 
variables.


More information about the Digitalmars-d mailing list