Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Refactoring Rust Code: Leveraging Expressions, Traits, and Error Handling

Rust via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore a practical approach to refactoring complex Rust code in this 28-minute conference talk. Learn how to transform unwieldy functions and kitchen sink structs into clean, expressive, and maintainable code. Discover techniques for leveraging Rust's unique features, implementing appropriate traits, and defining clear error boundaries. Follow along as the speaker refactors a single function with hundreds of lines of code, demonstrating how to align your code with Rust's broader ecosystem using standard library traits. Gain insights into writing beautiful, efficient Rust code that future you and your colleagues will appreciate.

Syllabus

Stefan Baumgartner - Trials, Traits, and Tribulations

Taught by

Rust

Reviews

Start your review of Refactoring Rust Code: Leveraging Expressions, Traits, and Error Handling

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.