@student · 1 min read · 4 views
My first week with Rust ownership
The borrow checker is rude and usually right.
May 27, 2026
Rust was the track I opened on a whim. By day three I had a love-hate relationship with the compiler — mostly hate, briefly love when the program actually ran.
Ownership in plain language
One value, one owner. When you pass it along, you either move it or borrow it. Fighting that model creates the errors everyone memes about.
fn main() {
let title = String::from("Hello, stories");
let greeting = format!("{title} — written on {}", chrono::Utc::now().format("%Y-%m-%d"));
println!("{greeting}");
}
The lesson playground let me run snippets without installing a toolchain first. That lowered the fear enough to keep going.
What helped beyond the track
- Reading error messages out loud (ridiculous, effective)
- Drawing boxes for each variable on paper
- Writing this story before opening the next chapter
Next up: lifetimes. Wish me luck — I will post again when the borrow checker and I negotiate a truce.
Comments (0)
Log in to comment.
- No comments yet.