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

Jack Stouffer via Digitalmars-d digitalmars-d at puremagic.com
Wed Feb 15 13:03:46 PST 2017


On Wednesday, 15 February 2017 at 20:54:02 UTC, Walter Bright 
wrote:
> I'd like to take a step back and devise a consistent taxonomy 
> of these things

Ok

> 1. auto decoding dynamic arrays

Narrow strings

> 2. not auto decoding arrays

Wide strings

> 3. static arrays

Do these need to be called anything other than "static arrays"? 
Also, they're not ranges, so they're usually tested with 
isStaticArray

> 4. aggregates with an 'alias this' to a string

isConvertibleToString

> 5. ranges of characters

Character range

> 6. something convertible to a string

Same as 4



More information about the Digitalmars-d mailing list