3 ms·
> I'm wondering if it's really beneficial for me as a programmer I'm biased since I love programming in Rust, but I think learning the ownership model (the tri
by oconnor663 8y ago
> I'm wondering if it's really beneficial for me as a programmer
I'm biased since I love programming in Rust, but I think learning the ownership model (the trickiest part for most people) is beneficial for programming in any language. It builds up a really good intuition: If only one reference exists to an object, or if shared references exist but they're all read-only, then that's "business as usual". But as soon as you have shared references and mutability at the same time, then you have "very interesting code". Even in a language other than Rust, where you don't need special types to let you do that, the situation probably deserves some beefy block comments where you warn everyone to pay attention.