You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 242b4bc
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: patterns/01-design-patterns-gof/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
Origin. Gamma, Helm, Johnson, Vlissides 1994
4
4
5
-
32 entries, 306,354 words, 1 more planned, 33 total when the family is complete. Every entry carries all 18
5
+
32 entries, 306,348 words, 1 more planned, 33 total when the family is complete. Every entry carries all 18
6
6
dimensions from [the entry contract](../../docs/ENTRY-TEMPLATE.md).
7
7
8
8
## Behavioral
@@ -15,7 +15,7 @@ dimensions from [the entry contract](../../docs/ENTRY-TEMPLATE.md).
15
15
|[Iterator](iterator.md)| canonical | 11,672 | A client needs to visit every element of a collection, and the collection knows how it stores those elements while the client does not and should not. |
16
16
|[Mediator](mediator.md)| canonical | 11,878 | A set of objects has to cooperate, and every one of them needs to know something about the others in order to do its part. |
17
17
|[Memento](memento.md)| canonical | 11,628 | An object holds state that changes over time, and something outside that object needs the ability to put the state back the way it was. |
18
-
|[Observer](observer.md)| canonical | 13,321| A piece of state changes, and an unknown number of other pieces of the system need to react. |
18
+
|[Observer](observer.md)| canonical | 13,315| A piece of state changes, and an unknown number of other pieces of the system need to react. |
|[State](state.md)| canonical | 14,281 | An object behaves differently depending on a mode it is in, and every method that depends on that mode has grown the same conditional. |
21
21
|[Strategy](strategy.md)| canonical | 11,071 | An object does a piece of work in more than one way, and the choice of way is not a property of the object's identity. |
Copy file name to clipboardExpand all lines: patterns/02-code-smells/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
Origin. Fowler and Beck, Refactoring
4
4
5
-
28 entries, 221,153 words. Every entry carries all 18
5
+
28 entries, 221,119 words. Every entry carries all 18
6
6
dimensions from [the entry contract](../../docs/ENTRY-TEMPLATE.md).
7
7
8
8
## Bloaters
@@ -11,7 +11,7 @@ dimensions from [the entry contract](../../docs/ENTRY-TEMPLATE.md).
11
11
|---|---|---|---|
12
12
|[Data Clumps](data-clumps.md)| canonical | 5,832 | The smell shows up first in method signatures. |
13
13
|[Duplicate Code](duplicate-code.md)| canonical | 8,029 | The same idea is written down twice, or more, in a codebase, so that changing the idea means finding and editing every copy. |
14
-
|[Large Class](large-class.md)| canonical | 9,844| A class keeps absorbing new fields and new methods until it is doing the job of what should have been five or six separate collaborators. |
14
+
|[Large Class](large-class.md)| canonical | 9,817| A class keeps absorbing new fields and new methods until it is doing the job of what should have been five or six separate collaborators. |
15
15
|[Lazy Class](lazy-class.md)| canonical | 7,708 | A codebase accretes classes over time for reasons that have nothing to do with present-day need. |
16
16
|[Long Method](long-method.md)| canonical | 7,675 | A method starts small. It does one clear thing, and its name says what that thing is. |
17
17
@@ -28,7 +28,7 @@ dimensions from [the entry contract](../../docs/ENTRY-TEMPLATE.md).
28
28
| Pattern | Maturity | Words | Intent |
29
29
|---|---|---|---|
30
30
|[Comments](comments.md)| canonical | 8,795 | A comment is a message from one point in time to a later reader, and it is never checked by anything that runs. |
31
-
|[Dead Code](dead-code.md)| canonical | 9,473| Dead code accumulates as an ordinary, unavoidable byproduct of change. |
31
+
|[Dead Code](dead-code.md)| canonical | 9,466| Dead code accumulates as an ordinary, unavoidable byproduct of change. |
32
32
|[Long Parameter List](long-parameter-list.md)| canonical | 7,502 | A function, method, or constructor accumulates parameters over its lifetime, usually one at a time, usually each addition individually reasonable, until the call site becomes ... |
33
33
|[Loops](loops.md)| canonical | 8,826 | A loop is the most flexible construct available in an imperative language. |
34
34
|[Middle Man](middle-man.md)| canonical | 7,237 | The smell shows up during evolution, almost never at the moment a class is first written. |
Copy file name to clipboardExpand all lines: patterns/05-architectural/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
Origin. Buschmann POSA 1, Bass SEI
4
4
5
-
31 entries, 248,953 words. Every entry carries all 18
5
+
31 entries, 248,937 words. Every entry carries all 18
6
6
dimensions from [the entry contract](../../docs/ENTRY-TEMPLATE.md).
7
7
8
8
## Architectural
@@ -30,7 +30,7 @@ dimensions from [the entry contract](../../docs/ENTRY-TEMPLATE.md).
30
30
|[Multi-Tenant Architecture](multi-tenant-architecture.md)| canonical | 5,015 | A SaaS provider serves many customers, called tenants, from one running application. |
31
31
|[Onion Architecture](onion-architecture.md)| canonical | 8,637 | A team builds a business application against a specific database, a specific web framework, and a specific set of third party integrations, because those are the concrete ... |
32
32
|[Peer-to-Peer](peer-to-peer.md)| canonical | 8,950 | A system needs many participants to exchange data or share work, and at least one of the following forces makes a single, dedicated server the wrong place to put that coordination. |
33
-
|[Pipeline Architecture](pipeline-architecture.md)| canonical | 8,757| A system needs to transform a stream of data through a sequence of independent processing steps, and the set of steps, their order, or their implementation is expected to change ... |
33
+
|[Pipeline Architecture](pipeline-architecture.md)| canonical | 8,741| A system needs to transform a stream of data through a sequence of independent processing steps, and the set of steps, their order, or their implementation is expected to change ... |
34
34
|[Pipes and Filters](pipes-filters.md)| canonical | 7,891 | A system must transform a stream of data through several independent processing steps, and the set of steps, their order, or the data source itself is expected to change over the ... |
35
35
|[Plugin Architecture](plugin-architecture.md)| canonical | 7,823 | An application needs to support a set of behaviours that is open-ended, unknown at the time the core is built, and likely to be supplied by parties who are not the core's own ... |
36
36
|[Plugin Sandbox](plugin-sandbox.md)| established | 10,826 | A host application defines an extension point, using Plugin Architecture or Microkernel, so that its behavior can grow without every new feature being merged into the core ... |
0 commit comments