feature request: with(var decl) {}

Adam D. Ruppe destructionator at gmail.com
Tue Jul 24 16:03:38 PDT 2012


On Tuesday, 24 July 2012 at 07:03:05 UTC, Chris NS wrote:
> I can't help thinking it sounds rather like a job for... named 
> parameters.  Just imagine it:

Yeah, that could do it too, but named parameters have been
brought up a few times too and there's opposition to it.

I kinda prefer the struct to named params anyway because
you can store it for later too. But I could go either way.



More information about the Digitalmars-d mailing list