On Wednesday, 19 July 2017 at 20:42:33 UTC, Steven Schveighoffer wrote:
I remember reading a discussion about using with statements to do this earlier as well, but I can't find it.

-Steve

I don't think this is the discussion you're talking about, but this does bring DIP 1005 to mind:

https://github.com/dlang/DIPs/blob/master/DIPs/DIP1005.md

Personally, I'm in favor of `with` for both variable declarations and imports. It's pretty intuitive semantically.

Reply via email to