# Rust Design Patterns

**URL:** <https://forum.devtalk.com/t/rust-design-patterns/5622>\
**Category:** Backend Learning Resources\
**Tags:** design, rust, in-the-news\
**Created:** [4 January 2021 00:06 UTC](https://forum.devtalk.com/t/rust-design-patterns/5622 "2021-01-04T00:06:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CommunityNews](https://forum.devtalk.com/user_avatar/forum.devtalk.com/communitynews/32/1113_2.png) [@CommunityNews](https://forum.devtalk.com/u/CommunityNews)\
**Post date:** [4 January 2021 00:06 UTC](https://forum.devtalk.com/t/rust-design-patterns/5622/1 "2021-01-04T00:06:41Z")

</div>

> # [Introduction](https://rust-unofficial.github.io/patterns/#introduction)
> 
> ## [Design patterns](https://rust-unofficial.github.io/patterns/#design-patterns)
> 
> When developing programs, we have to solve many problems. A program can be viewed as a solution to a problem. It can also be viewed as a collection of solutions to many different problems. All of these solutions work together to solve a bigger problem.
> 
> ## [Design patterns in Rust](https://rust-unofficial.github.io/patterns/#design-patterns-in-rust)
> 
> There are many problems that share the same form. Due to the fact that Rust is not object-oriented design patterns vary with respect to other object-oriented programming languages. While the details are different, since they have the same form they can be solved using the same fundamental methods.
> 
> [Design patterns](https://rust-unofficial.github.io/patterns/patterns/index.html) are methods to solve common problems when writing software.
> 
> [Anti-patterns](https://rust-unofficial.github.io/patterns/anti_patterns/index.html) are methods to solve these same common problems.
> 
> However, while design patterns give us benefits, anti-patterns create more problems.
> 
> [Idioms](https://rust-unofficial.github.io/patterns/idioms/index.html) are guidelines to follow when coding. They are social norms of the community. You can break them, but if you do you should have a good reason for it.

> **[Introduction - Rust Design Patterns](https://rust-unofficial.github.io/patterns/)**
>
> A catalogue of Rust design patterns, anti-patterns and idioms

_This thread was posted by one of our members via one of our automated news source trackers._
