-
Book Overview & Buying
-
Table Of Contents
Design Patterns and Best Practices in Rust
By :
In this chapter, we discussed why developing code in Rust requires new patterns, new practices, and new thinking. First, we discussed why traditional design patterns, while extremely helpful in many languages, need to be revised and expanded when working with Rust. Then, we talked about hitting the wall in your Rust journey, and the reasons why, as the complexity of projects rises, Rust can suddenly feel much more painful to work with. After that, we discussed the unusual learning curve of Rust development. Following that, we discussed what it means to think in Rust, why it's key to Rust development, and how Rust design patterns can help. Finally, we discussed the project that we'll be building in the following chapters, a calculator built by ignoring Rust patterns and practices.
Using what we've learned in this chapter, you'll be able to recognize situations where compiler errors or awkward workarounds are signs that you're not using the correct...