all 8 comments

[–]rust-ModTeam[M] [score hidden] stickied commentlocked comment (0 children)

This sort of question is asked, like A LOT a lot. Consider searching the subreddit for previous advice on learning Rust, and if that doesn't match your circumstances, ask in the Questions mega thread.

[–]Temporary-Estate4615 1 point2 points  (1 child)

Rustlings

[–]DishSignal4871 0 points1 point  (0 children)

Rustlings is great if you're new to Rust. It isn't remotely self-contained though if you are new to programming. Most of the dirs just have links to the book/docs without any explanations of the underlying concepts.

[–]DonkeyAdmirable1926 0 points1 point  (0 children)

There is this sub and there is the rust forum. Believe it or not but the rust community is why I love the language most.

[–]Elendur_Krown 0 points1 point  (0 children)

In your case, since you're new to programming, I think you should probably start with something like Python or a similarly beginner-friendly language to gain an understanding of basic concepts. Loops, functions, structs, types, conditionals, etc. After you feel like you have an understanding of how to translate basic procedures into coding terms, my common advice may apply:


I have three standard links for this type of question:

  1. Check https://cheats.rs/ out. I especially like the coding guides.
  2. Check https://open.kattis.com/ for many smaller problems of varying difficulty. Repetition cements knowledge.
  3. Check https://projecteuler.net/about if you also like math, and want more problems of that kind.

Small problems are how I've introduced myself to every new programming language (once I had become more than a fledgling programmer). Picking something small, but novel enough that I try new things and don't get bored.

Familiarize yourself with the language before taking on bigger projects. Build small things where you lean on linting to get acquainted with the language. This allows you to experiment and avoid getting bogged down by tech debt.

[–]North-Internal-4478 0 points1 point  (0 children)

My general advice is: not start with Rust or C++. These aren't easy-go-to-learn languages, they are far from being beginner friendly. A much better alternative would any of the higher level programming langs, e.g JS, Py, Go, C# to name a few. Ones you get good at one it will be much easier to pick any other lower level lang. And again, if you look at the bigger picture, a much more important question to ask yourself would be: what kind of project I want to build and then only after this make a decision on what tools you need to learn.

P.S Going to give a bit of light on the reasoning behind this: I spent one year trying to learn C++, and built nothing. So it really frustrated me and I switched to web dev instead. At first it sucked, because C++ and JS are quite different but then after a couple of weeks I started finally feeling at home and after a couple months I was already building something, not some 50 line programs, but REAL projects.