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

YouTube

Rust Best Practices for Library Development - Part 1

Jeremy Chone via YouTube

Overview

Explore nine Rust programming best practices for building libraries in this video tutorial, the first part of a three-part series. Learn about module structure for effective namespacing, scoping, and code organization in Rust. Dive into error handling practices to improve code robustness. Master the art of constructors, chainable setters, and builder patterns with real-world examples from the genai library. Follow along with code demonstrations and gain insights into structuring efficient and maintainable Rust projects.

Syllabus

- - Intro
- 00:10 - c01: Module Structure
- 06:14 - c02: Error Handling
- 11:57 - c03: a Constructors, Builders, Setters
- 22:45 - c03: b Constructors/builders Code example

Taught by

Jeremy Chone

Reviews

Start your review of Rust Best Practices for Library Development - Part 1

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.