Hey, I was just practicing rustlings and got confused in the chapter 19_smart_pointers
Main Problem (Confusion)
Steps that I took:
- I checked
README.md
- saw first file in my editor with the number 1 in the end
arc1, thought it is the first I need to do
- opened and complited
arc1
- compiled and ran with
rustlings run
- got disappointed because I started with the wrong order
- ran with
rustlings run arc1
- then I thought why the naming is so strange, because before it was in order like
name1.rs, name2.rs and this is only one chapter with different order.
❯ tree exercises/19_smart_pointers
exercises/19_smart_pointers
├── arc1.rs
├── box1.rs
├── cow1.rs
├── rc1.rs
└── README.md
Suggestion
I would recommend to make an order somehow, because it is not intuitive what exercise goes first and next and next without compiling, and in README.md there are no order specifications
according to the previous chapters order most likely should be like this:
smart_pointer1.rs
smart_pointer2.rs
smart_pointer3.rs
that would follow previous order template and would be intuitive
or another way of resolving the issue would be mentioning correct or expected order in the README.md
Thank you :)
Hey, I was just practicing rustlings and got confused in the chapter
19_smart_pointersMain Problem (Confusion)
Steps that I took:
README.mdarc1, thought it is the first I need to doarc1rustlings runrustlings run arc1name1.rs,name2.rsand this is only one chapter with different order.Suggestion
I would recommend to make an order somehow, because it is not intuitive what exercise goes first and next and next without compiling, and in
README.mdthere are no order specificationsaccording to the previous chapters order most likely should be like this:
smart_pointer1.rssmart_pointer2.rssmart_pointer3.rsthat would follow previous order template and would be intuitive
or another way of resolving the issue would be mentioning correct or expected order in the
README.mdThank you :)