You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to Rust and I'm reading the Rust book and doing the rustlings exercises in parallel. And they seem to match the order of covered topics. However, the Vector chapter is number 8 in the book and Structures chapter is number 5, but in rustlings Vectors appear before Structures. I know, it's not a big deal, but maybe the order should be changed, I don't know.
The text was updated successfully, but these errors were encountered:
Yeah, this is probably the biggest deviation we intentially make from the book. Both vecs and enums aren't conceptually too hard to understand, but they provide a gigantic boon in exercise structure the earlier they're implemented (nobody actually uses Rust arrays that much, and you won't see slices all that often either), so our "gamble" is that showing you Vecs and Enums before they're actually introduced in the book isn't too confusing, and instead helps make earlier exercises more understandable.
As a newbie, I still have to learn arrays just in case I run into them later. Some examples of arrays instead of vecs at this point (after primitive_types) would've been very welcome. And instead of vectors in move_semantics Strings could be used, like they are used in The Book to explain ownership and moving.
I'm new to Rust and I'm reading the Rust book and doing the rustlings exercises in parallel. And they seem to match the order of covered topics. However, the Vector chapter is number 8 in the book and Structures chapter is number 5, but in rustlings Vectors appear before Structures. I know, it's not a big deal, but maybe the order should be changed, I don't know.
The text was updated successfully, but these errors were encountered: