2 ms·
I say give it a shot and see how it goes :) One high level problem with learning Rust is that a lot of the patterns we use to work with the borrow checker are
by oconnor663 4y ago
I say give it a shot and see how it goes :)
One high level problem with learning Rust is that a lot of the patterns we use to work with the borrow checker are pretty non-obvious. (Things like using indexes instead of references, and avoiding methods that keep &self borrowed.) To the extend that Rc and Arc let you avoid learning those patterns, I agree with folks who say not to use them too much. But if you know how you might solve something without Rc, and you want to try it with Rc anyway to see how it feels, that's totally reasonable.