6 ms·
> The standard library also includes Path/PathBuf and OsStr/OsString. Right. And you want people to explicitly convert between them. Having to convert between
by Manishearth 10y ago
> The standard library also includes Path/PathBuf and OsStr/OsString.
Right. And you want people to explicitly convert between them.
Having to convert between string types isn't a problem. String encoding is hard, and you're going to have to pay that cost somehow.
- JoshTriplett 10y agoHaving to convert isn't a problem. Having to write some algorithms multiple times for different string types is a problem.
- Manishearth 10y agoFair. Most of these algorithms could be written generically I guess.