3 ms·
> Rust is one of the few programming languages that correctly doesn’t treat file paths as strings. Rust is one of a few programming languages that incorrectly
by naniwaduni 7y ago
> Rust is one of the few programming languages that correctly doesn’t treat file paths as strings.
Rust is one of a few programming languages that incorrectly treat strings as if it were a coherent concept distinct from byte buffers.
Among those, it has the distinction of not forcing file paths into this inherently incorrect model.
(In practice, if you have a type system that can distinguish arbitrary byte buffers from ones with a known encoding, that is far from the most useful thing to distinguish about them anyway.)