1 Rust-y patterns

 

This chapter covers

  • What this book covers
  • What design patterns are
  • Why this book is different
  • Tools you’ll need

Reading this book is a great way to advance your Rust skills, whether you’re a beginner, intermediate, or advanced Rust programmer. If you’re a beginner, studying design patterns is an excellent path to elevate your skills above the basics of the Rust language, but you may find some parts of this book challenging, so you may need to study other resources as you go. This book presents a variety of techniques for writing high-quality Rust code, but we’ll focus on patterns, idioms, and conventions that are widely used and understood by the Rust community.

Design patterns are powerful abstractions that every programmer can use to produce high-quality code. Humans are excellent at pattern recognition, and following well-understood and easily recognized patterns helps us solve two tricky problems: reasoning about whether a design is good or bad (following well-known patterns helps us avoid creating bad code, for example) and helping other people understand our code.

1.1 What this book covers

1.2 What design patterns are

1.3 Why this book is different

1.4 Tools you’ll need

Summary

sitemap