u/icecream24

Oh my... learning about Smart Pointers

I just worked my way through the smart pointer chapter of the rust book. Oh my...
Everything makes total sense, it is not unclear and everything goes well into how working thus far with rust feels.
But it feels like when writing software you can very quickly shoot yourself in the foot with assigning strong and weak ownership to the wrong variables.

Do you really need to break your head around how to structure everything regarding ownership with weak and strong references, or will it come somewhat naturally?

reddit.com
u/icecream24 — 19 hours ago