Skip to content

Commit 968b513

Browse files
committed
Clarify scope of anti-patterns
1 parent 900f25f commit 968b513

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

lib/elixir/pages/anti-patterns/what-anti-patterns.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ Anti-patterns describe common mistakes or indicators of potential problems in co
44
They are also known as "code smells".
55

66
The goal of these guides is to document known anti-patterns found in Elixir software
7-
and teach developers how to identify and correct them. If an existing piece of code
8-
matches an anti-pattern, it does not mean your code must be rewritten. However, you
9-
should take its potential pitfalls and alternatives into consideration.
7+
and teach developers how to identify them and their limitations. If an existing piece
8+
of code matches an anti-pattern, it does not mean your code must be rewritten.
9+
No codebase is free of anti-patterns and one should not aim to remove all
10+
anti-patterns of a codebase. The goal is to promote a discussion of potential
11+
pitfalls and provide alternatives into consideration.
1012

1113
The anti-patterns in these guides are broken into 4 main categories:
1214

0 commit comments

Comments
 (0)