3 ms·
I both like and hate how Rust has `String` and `&str`. Constant juggling between the two (which really is a sign I'm not doing it right). Yet knowing and using
by berkes 5y ago
I both like and hate how Rust has `String` and `&str`. Constant juggling between the two (which really is a sign I'm not doing it right). Yet knowing and using the difference is important and powerful.
I somewhat miss this when I go back to Ruby, but then realize that symbols often can be used for `&str`. Often. Not always.