I'd start with rust so that you get good habits wrt proper use of stack vs heap memory.

But then again it really depends what your goals are. I usually suggest that people don't worry too much about what the best language to learn is, it's like learning Latin because "it will help me learn English".

Identify a problem you want to solve, and choose whatever language looks like it offers the easiest and fastest way to solve it.

Any language is better than losing interest because you don't have a reason to continue.

Reply to this note

Please Login to reply.

Discussion

Great advice. 🙏

Rustlings is a good way to start learning rust

https://github.com/rust-lang/rustlings

Interactive exercises for all the main concepts. Starts simple, has useful tips and links to further reading. To pass to the next level, you have to fix a few lines of code.

Super fun way of learning.

Starting with rust isn't a good idea. Rust is a fairly complicated language, starting with it will demotivate most people.

If you're new to programming, I think Go is a great place to start in 2023. Next would be python or JS.

Get to Rust eventually.

Hard disagree about not starting with Rust. Rust will teach you the fundamentals of how computers work in a way that high-level languages like Python and JS won't. I know many long term Python/JS devs who never get beyond the basics of understanding in computer science, and it shows in the quality of their work.

Actually I recommend new learners start with a little bit of C and C++ before anything else. Rust would be a great option after that.

If someone wants to start with a systems language then they should probably start with C, not Rust.

C teaches you about memory better than Rust.

Yeah I was actually going to suggest Go, but just keeping it within the languages he was asking about.

I'd definitely suggest Go rather than Python because not any harder to learn and you can do a lot more with it. There's also that Go book by the creator of the language which is a pretty good introduction not just to Go but to programming in general.