Hacker News new | ask | show | jobs
by berkes 1534 days 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.