syntax sugar: std.path::buildPath instead of from!"std.path".buildPath
Daniel N via Digitalmars-d
digitalmars-d at puremagic.com
Tue Feb 14 02:13:41 PST 2017
On Tuesday, 14 February 2017 at 09:55:51 UTC, Jacob Carlborg
wrote:
>
> Why? It looks awful. The signatures we already have in Phobos
> is quite ridiculous, this will not improve. Isn't this and the
> whole idea of DIP 1005 just a workaround for the compiler not
> lazily analyzing the symbols.
Even those of you who favor...
with(import std.stdio)
... wouldn't you agree that this is better?
with(Module!"std.stdio")
Less intrusive compiler change because the same syntax already
works everywhere "with" is valid.
More information about the Digitalmars-d
mailing list