When AI agents can generate code on demand, is learning new programming language like Rust still worth it?
Yes, because the real fun in programming is writing code ourselves. Sitting back and watching an agent spit out code is boring, there is complete fulfillment in tackling the problem yourself and watching the build success with zero warnings.
Using AI isn’t wrong, but it’s just a tool. Blindly trust whatever it gives you is huge mistake. In this AI era, we can easily see posts about running agents all day, building apps in 24 hours or shipping 100+ PRs a day, …etc. But not everyone has a bulging wallet to burn tokens on infinite hallucination loops. At the end of the day, deep understanding of your stack and your tools is inimitable.
So keep learning new things no matter what, here is the old-but-gold way to learn Rust:
The Book
Start with the Official Rust Programming Language Book. If you are familiar with some basic concept, just skim the first three chapters quickly (variables, basic types, function). These chapters I think should focus on:
- Chapter 4 - Ownership & Borrowing: stack vs heap, move semantics, and reference rules.
- Chapter 6 - Enums & Pattern Matching: How enums carry data and how
Option<T>replaces the concept ofnull - Chapter 9 - Error Handling: Recoverable errors with
Result<T, E>and the?operator. - Chapter 10 - Generic Types, Traits, and Lifetimes: Writing reusable code with generics, defining shared behavior through trait bounds, and helping the borrow checker validate reference validity
with lifetimes.
`std` doc
Keep the std lib documentation open (or access offline via rustup doc —std) to search what Rust provides natively, like:
- quick search any type (
Vec,Option,HashMap). - check what traits a struct already implements (
Into,From,Debug). - find out helper methods like
.map(),.and_then()and.unwrap_or_else().
Practice
Rustlings provides small, broken exercises designed to be solved alongside the book, After you have finished a chapter, jump to rustlings and fix the matching exercises.

Extra exercises never go wrong, there is a rustlings-like terminal tool that based on Rust by Example book - rbe.

Open the exercise code in your editor side by side with another pane running the tool in watch mode for instant compiler feedback.

Summary
Learning is a marathon, practice day by day.
Let’s cook the crab 🦀.