-
Book Overview & Buying
-
Table Of Contents
Design Patterns and Best Practices in Rust
By :
In this section, we'll discuss the need for new design patterns for Rust. We'll discuss how patterns reflect the language that they were built for, and how Rust can appear similar to familiar languages but is more different than it seems, requiring a new set of tools to code effectively.
As developers, we've put considerable time and effort, often years or even decades, into learning our craft. We each try to build knowledge of the most effective practices to create robust, clean, and elegant code, either through our own experience or through learning from the experiences of other people. We rely on that knowledge to steer us away from danger and toward solid solutions.
Design patterns have become a standard in developing software because they're a clear, expressive, and concise way of sharing knowledge that can direct us to excellent results. Names such as the Visitor pattern and the Observer pattern...