3 ms·
Yep, you nailed it. I wouldn't change Vec though. I would make the string types more consistent with the path types. The reason is that slices are more general
by steveklabnik 7y ago
Yep, you nailed it. I wouldn't change Vec though. I would make the string types more consistent with the path types. The reason is that slices are more general than just vectors, whereas str/String and Path/PathBuf are virtually always only used together.
- twic 7y agoFair enough. Although i'd rename Vec to List, because variable-length sequences are not vectors, and there's no need to propagate that mistake any further!
- steveklabnik 7y agoThe problem is, some people think List means some form of linked list, not what a vector is. Names are hard.