Path as an object in std.path

Jacob Carlborg doob at me.com
Wed Jun 5 00:29:31 PDT 2013


On 2013-06-05 09:11, Joshua Niehus wrote:

> 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.

I agree. But if you're passing around a lot of paths it would probably 
be a good idea to have a proper type for the paths.

> That being said, I don't see why having the struct would hurt.



-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list