-
Book Overview & Buying
-
Table Of Contents
Design Patterns and Best Practices in Rust
By :
In this chapter, we'll learn why designing, architecting, and coding in Rust require different techniques, different design patterns, and different ways of thinking than you may be used to from previous experience. Experienced developers have a toolbox of patterns and strategies that they've learned and developed over time that serve them very effectively. Why doesn't that toolbox work the same way for Rust? We'll talk about that here.
First, we'll discuss why familiar patterns don't work and why new ones are needed. Then, we'll discuss why even very experienced programmers can face difficulties beyond just learning the language and sometimes find Rust infuriating. We'll talk about the process of becoming fluent in Rust, as well as the common pitfalls and milestones in the journey. We'll round out this chapter by discussing the importance of thinking from a Rust perspective when working with the language...