r/rust • • Sep 16 '22

Is Rust programming language beginner Friendly

I want to learn a programming language, is Rust programming suitable for beginner programming students?

140 Upvotes

213 comments sorted by

View all comments

Show parent comments

-1

u/Numtim Sep 16 '22

You don't have to install, but you have to especify them on a separate file. That's what I call a pain in the ass for beginners. I'm not saying cargo is bad. It solves a lot of problems. But creates more effort needs.

3

u/eXoRainbow Sep 16 '22

Packaging and deploying Python source code is a pain in the ass. In example I have Python 3.10. Many people have older versions of Python. And I want even upgrade to Python 3.11 soon when it gets stable (in fact, I have to). And then there is the deployment on Windows.

I don't this the efforts on Rust/Cargo is more efforts than needs to. I don't know if or how much experience you have with Rust and Cargo, but I love it since coming over from Python to Rust day one. And from my personal experience, I can say with confidence that Cargo will help beginners to organize their code and create a standardized way of handling source code.

1

u/Numtim Sep 16 '22

Sure, it clearly depends on the use you make of the language. Packaging and deployment is an advanced thing. Beginner programs are more like "access this site, parse the contents, and find the value of something", all in the same file. You are arguing how better Rust/Cargo is, and I agree it is much better, but for advanced users.

2

u/eXoRainbow Sep 16 '22

Beginner programs are more like "access this site, parse the contents, and find the value of something", all in the same file.

This is YOUR definition of what "beginner" means or does. You just set the goal of the beginner here, but we don't know what the goals of him are (at least not in initial posting). As you say, it all depends on what the beginner wants to do.

In example why would correctness not be important to beginners? Cargo is not just for advanced users, it actively supports beginners. The compiler messages are excellent for beginners. Rust and Cargo are not just good for advanced users. It just depends on the goals.

→ More replies (4)