2 ms·
I like that Rust's String is not trying to be smart. It makes it predictable and easy to reason about. Because Rust has &str as the lowest common denominator f
by pornel 6y ago
I like that Rust's String is not trying to be smart. It makes it predictable and easy to reason about.
Because Rust has &str as the lowest common denominator for all string types, "non-standard" strings aren't difficult to use.
- pdimitar 6y agoI agree that less smartness is a good thing, it's just that sometimes I get a bit frustrated even with basic usages of Rust's String and &str. It gets easier with time but the first few months were a big struggle.