syntax sugar: std.path::buildPath instead of from!"std.path".buildPath

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Wed Feb 15 15:44:47 PST 2017


On 2/15/2017 1:24 PM, Jonathan M Davis via Digitalmars-d wrote:
> So, regardless of the exact terminology, we have a whole set of very similar
> but subtly different traits. And as it stands, they _will_ get screwed up
> unless someone is carefully looking at each to make sure that they actually
> use the right one as well as testing with various types that frequently get
> missed in unit tests - like types which use alias this or enums with a base
> type of string.

I suspect the only way forward is to go through Phobos and collect all the 
plethora of constraints used for strings, and examine them for commonalities. 
Not doing this will just result in more accumulation of confusing junk.



More information about the Digitalmars-d mailing list