Path as an object in std.path

John Colvin john.loughran.colvin at gmail.com
Wed Jun 5 04:33:36 PDT 2013


On Wednesday, 5 June 2013 at 07:11:49 UTC, Joshua Niehus wrote:
> On Wednesday, 5 June 2013 at 06:27:46 UTC, Dylan Knutson wrote:
>> "which exposes a much more palatable interface to path string 
>> manipulation".
>> [...snip...]
>> I'd like some feedback on what others think about this;
>
> personally, I prefer the current implementation and found it 
> easy to use for the multitudes of tiny scripts I've written.  I 
> wouldn't like to create an "object" just to call isAbsolute.
>
> That being said, I don't see why having the struct would hurt.
>
> Nice work by the way

Is there any reason why we couldn't keep the string-based free 
functions around as well?


More information about the Digitalmars-d mailing list