Skip to content
Atharva Pandey
Polyglot Engineer
Writing
Courses
Notes
About
Course
Rust Anti-Patterns & Code Smells
10 lessons · Rust. Start at lesson one and work through in order.
1.
.clone() Everywhere
2.
unwrap() in Production
3.
Stringly Typed APIs
4.
God Structs
5.
Over-Genericizing
6.
Trait Bloat
7.
Arc<Mutex<T>> as Default
8.
Premature Optimization
9.
Macro Abuse
10.
Using unsafe to Escape the Borrow Checker