10 ms·
I wish someone would have explained how to approach learning Rust; It's a really hard language to grasp - when struggling, I think it's important to really unde
by _jordan 9y ago
I wish someone would have explained how to approach learning Rust; It's a really hard language to grasp - when struggling, I think it's important to really understand why whatever you're doing is hard - to learn where your misunderstanding and errors are fundamentally. This is non technical but might be worth mentioning.
- whytaka 9y agoAs a beginner who'd struggled with learning Rust over the last few months, here's my advice: Ownership and Borrowing is front and centre in the intro texts to Rust and it's no coincidence. Understanding the concept(s), their relation to memory, references, memory management and lifetimes, is central to understanding Rust. The String type, str (string slices), and slices in general, also gave my head a spin a few times, but getting over that hurdle made things a lot more clear as well. Not that I have enough experience to tell the difference between languages, I still think Rust is a very intelligently designed language. I'm glad I learned (am learning) it and I hope it gets adopted by more developers.
- dumindunuwan 9y agohttps://news.ycombinator.com/item?id=15027861 https://news.ycombinator.com/item?id=15027861
- Toidiu 9y agoI agree with this point. I do believe Rust contains some difficult concepts but there is a reason behind them. Understanding those reason is the key motivator behind learning the language.