Skip to content

Enhancement(19_smart_pointers): file order confusion #2235

Open
@Andebugulin

Description

@Andebugulin

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions