mirror of
https://github.com/rust-unofficial/patterns
synced 2024-11-02 21:40:26 +00:00
de7519f5d9
Co-authored-by: Marco Ieni <11428655+MarcoIeni@users.noreply.github.com> |
||
---|---|---|
.. | ||
deny-warnings.md | ||
deref.md | ||
README.md |
Anti-patterns
An anti-pattern is a solution to a "recurring problem that is usually ineffective and risks being highly counterproductive". Just as valuable as knowing how to solve a problem, is knowing how not to solve it. Anti-patterns give us great counter-examples to consider relative to design patterns. Anti-patterns are not confined to code. For example, a process can be an anti-pattern, too.