Software Engineering Radio - the podcast for professional software developers

SE Radio 659: Brenden Matthews on Idiomatic Rust

12 snips
Mar 12, 2025
Brenden Matthews is a seasoned software engineer and author known for his expertise in Rust programming. He dives into the concept of idiomatic Rust, explaining its significance and sharing essential design patterns to enhance code readability. Matthews discusses the power of Generics and Traits, emphasizing effective code management. He introduces valuable tools like Rust Format and Clippy for code improvement and highlights anti-patterns to avoid, including the pitfalls of unwrap(). With insights into macros and safe coding practices, this discussion is a treasure trove for developers seeking to master Rust.
Ask episode
AI Snips
Chapters
Books
Transcript
Episode notes
INSIGHT

Idiomatic Code

  • Idiomatic code follows best practices and established patterns within a language or tool.
  • Idioms are context-dependent and can vary between companies and projects.
ADVICE

Target Audience

  • Write code for two audiences: the computer and other developers.
  • Idiomatic code improves readability and communication within teams.
ADVICE

Tools for Idiomatic Rust

  • Use Rustfmt and Clippy for idiomatic Rust.
  • These tools enforce formatting and identify potential improvements.
Get the Snipd Podcast app to discover more snips from this episode
Get the app