-
Book Overview & Buying
-
Table Of Contents
Design Patterns and Best Practices in Rust
By :
Rust is different. Developers coming from languages such as Java, C++, or Python often find that familiar design patterns don't work as expected or don't work at all. The ownership system, borrow checker, and lack of traditional inheritance create a unique environment that demands new approaches to software design.
In this part, we explore why Rust requires different thinking and what happens when we fight against the language instead of working with it. Through a deliberately flawed "Bad Calculator" project, we'll experience firsthand the frustrations that arise from applying traditional patterns inappropriately, setting the stage for the idiomatic solutions that follow.
This part includes the following chapters: