Discover tips for writing elegant and concise Rust code in this 25-minute conference talk by Matthias Endler at FOSDEM 2018. Learn about idiomatic Rust practices, including error handling techniques, efficient use of built-in traits, and other best practices. Explore the "Idiomatic Rust" project, a peer-reviewed collection of resources for writing high-quality Rust code. Gain insights on converting between Option and Result types, using the failure crate, and leveraging Rust's powerful features effectively. Suitable for Rust beginners transitioning from dynamic languages like Python, JavaScript, or Ruby who seek guidelines for writing more idiomatic code.
Overview
Syllabus
Introduction
Parse Money
Error Handling
Error Parsing
Error Variants
Parse Error
Sliced Patterns
Money Type
String Type
Taught by
Rust