3 ms·
It is not disconcerting. It is necessary if you want to perform string operations efficiently. Java has String and StringBuilder for the same purpose. Rust has
by brabel 7y ago
It is not disconcerting. It is necessary if you want to perform string operations efficiently.
Java has String and StringBuilder for the same purpose.
Rust has str (always static, immutable) and String (can be mutable).
This is very common in non-scripting languages.