Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put the smart_pointers exercise before the threads exercise #1541

Closed
luhem7 opened this issue Jun 3, 2023 · 0 comments · Fixed by #1542
Closed

Put the smart_pointers exercise before the threads exercise #1541

luhem7 opened this issue Jun 3, 2023 · 0 comments · Fixed by #1542

Comments

@luhem7
Copy link
Contributor

luhem7 commented Jun 3, 2023

While learning threading, you need to learn about the Arc type and why it is needed. Worse, there are no explicit exercises about the Arc type in the thread exercises. Immediately after the threading exercises, we do the smart_pointers exercises which do teach you about Cow, Rc and Arc types nicely with no prior dependencies on the threading exercise.

I suggest that we swap the order of the threads and the smart_pointers exercises so help the concepts flow better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant