Articles
Notes on learning, writing and reviewing Rust when AI assistants can produce code faster than anyone can read it.
- Option is not a nullable: sentinels, defaults and missing data
Replacing every unwrap() with a made-up value stops the panics and quietly corrupts the data. Sentinels, defaults and nested Options, and how to tell a default that is true from one that is merely convenient.
- Read the compiler error before you paste it into a chat
Rust’s compiler errors often contain the fix, the reason for it, and a hint about whether its own suggestion is the right one. How to read an error label by label, and when to doubt its suggestions.
- When is a clone the right answer?
Not every clone is a mistake. What a clone costs, when it is the correct choice, and how to tell the difference when you review Rust.
- Reviewing AI-written Rust: six things to check
Six patterns that coding assistants produce to keep the compiler happy, why each one matters, and what to ask for instead.
- Why learn Rust when an AI can write it?
Coding assistants can now produce Rust that compiles. That changes what is worth learning, not whether it is worth learning.