Hi there,
I just heard about programming on the internet and bit curious about it. I have no idea about it then I google it and ask with which language I should start with then google say "Python". But i am bit more curious about Rust, should i start with Rust or Python?
Thanks.
I personally would prefer doing what excites me, if I had the time and leisure to do so, even if it is a bit more challenging or daunting in the beginning.
Rust is going to be harder up-front; Python is weighted towards doing something useful with any program as input, even if a lot of the edge cases are going to go horrifically wrong (e.g. error cases).
In contrast, Rust weights towards stopping you doing things that are ill-thought-through, and requires more understanding to go from idea to first working program; the benefit is that your first working program in Rust will be closer to the final program than your first working program in Python. This happens because the things Rust gets strict about are things you have to understand anyway to write a dependable program - while Rust won't complain about everything you get wrong, it will complain about a lot of short cuts. Python, in contrast, will tend to find a way to do something, even if it's not reliable.
If Rust is what interests you, go for it - just be aware that it is going to require you to learn a lot more to get to "my program does something" than Python does.
Personally I would suggest starting with front-end web development. Just basic javascript, html, and css. At least with that it helps narrow down on what to do. After learning the common basics in programming, I went to python and then eventually settled in rust.
But i am bit more curious about Rust
Doing what interests you is a good idea.
I really like rust, and most of my programming experience comes from rust, but I started with python (and a lot of other languages before that)
I find rust to be much easier than python once projects start to grow, but python is easier in the beginning (and most early projects used to learn programming only have a beginning due to their small size)
in general all curves related to time/effort for rust are much higher in the beginning, but level off and then continue lower than the curves for python.
I'd advise doing CS50 and then learning rust using the book and rustlings,
If rust's learning curve turns out to be too cliff-shaped for you then you can always do python for a bit then go back to rust once you understand the basics of programming.
Another thing I'd add is that Rust is very forward facing with its excellent tooling, and Python, not always.
There is now a lot of really great tooling for managing Python projects (I'm familiar with poetry, but a lot of people recommend uv) and if you decide to go with Python, I would suggest using that tooling from the start, rather than trying to get into the habit later.
Rust, fortunately, gets you used to cargo almost immediately. ![]()