Re:Ask HN: How do you learn a programming language (e.g. Rus...
by __ralston3 on Tuesday April 23, 2019 @02:02PM
(#19731158)
I would suggest reading through and practicing some of the snippets as you go along (however, I would _not_ suggest doing the little projects, often they can get you sidetracked). By snippets I mean things like `foo.chars().iter()` and such to understand exactly what's going on underneath the hood when you use (for example) a `.chars()` or a `.iter()`.
But the book will only go so far. To take things further (especially with Rust), I suggest "reading code". There's plenty of it on Github. And I would definitely add that Rust devs in particular are usually better than most at commenting code (which helps).
But the book will only go so far. To take things further (especially with Rust), I suggest "reading code". There's plenty of it on Github. And I would definitely add that Rust devs in particular are usually better than most at commenting code (which helps).