Where to go to learn Rust in 2021
loige.co
loige.co
Besides, most of those resources (in fact most other languages resources too) are concept-driven, not problem-driven. To paraphrase a comment I made a while ago on a similar topic [1]:
I wish the style of teaching complex programming topics walked me through the pain of making something work, exploring a few alternative solutions, showing the tradeoffs, and then after the pain has been experienced by the learner, a proper solution is finally introduced and recommended. IMO it's a much more powerful technique for teaching if you walk the learner through the pains first, then arrive at a solution, and tell them that "you've just [discovered how ownership works in rust]"; i.e. the concept is given a name at the _very end_, not defined at the beginning as a solution to a pain the learner never experienced. Unfortunately very few books/tutorials take this approach.
[1] https://news.ycombinator.com/item?id=19010428https://rust-unofficial.github.io/too-many-lists/
> It should be noted that the authentic Rust learning experience involves writing code, having the compiler scream at you, and trying to figure out what the heck that means. I will be carefully ensuring that this occurs as frequently as possible. Learning to read and understand Rust's generally excellent compiler errors and documentation is incredibly important to being a productive Rust programmer.
Things like lifetime parameters and their placements were pretty cryptic to me until I watched a single video that made everything click into place. Once you got it most things make sense, it's just hard to find the right angle to look from. Plus having the search engine constantly bring up a town or video game named Rust when looking for problems doesn't help.
https://www.youtube.com/watch?v=1QoT9fmPYr8 ("Rust Lifetimes" by Doug Milford)
Imho the great thing about that explanation is how smoothly it moves from the basics to the more detailed parts of lifetimes. That made it easier for me to see the connections to the rest of the language.