General 50 installs

m15-anti-pattern

by zhanghandong/rust-skills

Use when reviewing code for anti-patterns. Keywords: anti-pattern, common mistake, pitfall, code smell, bad practice, code review, is this an anti-pattern,…

Skill content

Anti-Patterns

Layer 2: Design Choices

Core Question

Is this pattern hiding a design problem?

When reviewing code:

- Is this solving the symptom or the cause?

- Is there a more idiomatic approach?

- Does this fight or flow with Rust?

Anti-Pattern → Better Pattern