this post was submitted on 12 Jun 2023
3 points (80.0% liked)

Rust Programming

7734 readers
1 users here now

founded 5 years ago
MODERATORS
 

I'm trying to learn rust. I've worked though the rust book but I've stagnated after completing the book. I've always found the easiest way to continue learning is to have an actual project to work on. I'm having a hard time coming up with a project to work on in rust so I'm looking for some suggestions.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

Normally this question gets the response that you need your own project idea so you actually care about it.

But a small project is best so how about coding a simple game? Hangman is a classic, Wordle would have some interesting challenges, or even just rock, paper, scissors for the very basics of input, output and logic.

If that doesn't appeal, then perhaps coding challenges would be a good start. There's plenty around like exercism, codewars, leetcode, etc. Many of them show other people's answers, so you can learn from them - but be aware that highest voted answer might just be the most clever, but not actually realistic (i.e. not idiomatic, not very comprehensive and/or not maintainable).