Rust · Ownership, errors and useful programs
Six guided lessons from language fundamentals to a tested program. Read the example, run it in the stated environment, then complete the extension checklist.
Prerequisite: Basic computer use; no previous experience with this language. · 170 minutes of guided study
6 published lessons, from first principles to a small project.
Start first lesson →What you’ll be able to do
- Bindings, expressions and functions
- Borrow strings instead of moving them
- Enums and exhaustive decisions
- Result and error propagation
- Iterators, vectors and map entries
- Project · A checked expense total
How to study this course
Follow the numbered modules. Read the example, explain why it works, attempt the exercise, then compare your result with the supplied checks.
Setup: Stable Rust. Save standalone examples as main.rs; run rustc --edition 2021 main.rs then run the executable. For tests use cargo new learning and cargo test.
Times estimate guided reading and practice. Projects and revision can take longer.