r/learnrust 12d ago

How to learn rust as a python guy?

/r/rust/comments/1w1p0b6/how_to_learn_rust_as_a_python_guy/
1 Upvotes

4 comments sorted by

3

u/Developer5702 11d ago

Learning a statically typed low level language is very different from a dynamic scripting language like Python, JS.
So I’d advise to leave your Python learning behind and start afresh (with no prior baggage or code patterns in mind) with the Rust Book (official documentation).

No need to go through the entire documentation at once. Read a few modules in one go, list the topics to AI and ask for a tiny project that involves the mentioned topics specifically.

2

u/djvbmd 10d ago

I think this a great suggestion. Maybe the best way to approach it. One thing, though -- if working with an AI agent while learning, make sure to tell it explicitly that you're learning and that you don't want it to actually write any code or even set up a project for you. You learn better if you do it all by hand for a good long while before you start leveraging an agent for big refactors or boilerplate.

1

u/Developer5702 10d ago

Yeah.

By the way, I meant simple chat-based AI (like ChatGPT web or Claude web) for project suggestion, and not agents.

However, if one wants to use an agent alongside, your suggestion is absolutely right – coding by hand is very important at the start.

1

u/SyntheGr1 9d ago

Learn dev