The Rust book doc.rust-lang.org
gentle-hazel-48
Clone more than you think you should while learning. Optimise later.
It clicked once I stopped thinking about lifetimes and started thinking about who owns what.
Saving this for later.
Do you have a source for that? Not doubting, I just want to read more.
Thinking in terms of ownership rather than lifetimes made it click for me.
Thanks, this is exactly what I was looking for.
pale-sparrow-34 wrote:
Thanks, this is exactly what I was looking for.
Honestly the cheap option was fine for the first few years.
Strong disagree, but I appreciate the write-up.