@@ -15,7 +15,7 @@ __Creational Patterns__:
15
15
| :-------:| ----------- |
16
16
| [ abstract_factory] ( abstract_factory.py ) | use a generic function with specific factories |
17
17
| [ borg] ( borg.py ) | a singleton with shared-state among instances |
18
- | [ builder] ( builder.py ) | call many little discrndler requests coming to the application |
18
+ | [ builder] ( builder.py ) | instead of using multiple constructors, builder object receives parameters and returns constructed objects |
19
19
| [ factory_method] ( factory_method.py ) | delegate a specialized function/method to create instances |
20
20
| [ lazy_evaluation] ( lazy_evaluation.py ) | lazily-evaluated property pattern in Python |
21
21
| [ pool] ( pool.py ) | preinstantiate and maintain a group of instances of the same type |
@@ -26,7 +26,7 @@ __Structural Patterns__:
26
26
| Pattern | Description |
27
27
| :-------:| ----------- |
28
28
| [ 3-tier] ( 3-tier.py ) | data<->business logic<->presentation separation (strict relationships) |
29
- | [ adapter] ( adapter.py ) | adapt one interface to another using a whitelist |
29
+ | [ adapter] ( adapter.py ) | adapt one interface to another using a white-list |
30
30
| [ bridge] ( bridge.py ) | a client-provider middleman to soften interface changes |
31
31
| [ composite] ( composite.py ) | encapsulate and provide access to a number of different objects |
32
32
| [ decorator] ( decorator.py ) | wrap functionality with other functionality in order to affect outputs |
@@ -50,7 +50,7 @@ __Behavioral Patterns__:
50
50
| [ publish_subscribe] ( publish_subscribe.py ) | a source syndicates events/data to 0+ registered listeners |
51
51
| [ registry] ( registry.py ) | keeping track of all subclasses of a given class |
52
52
| [ specification] ( specification.py ) | business rules can be recombined by chaining the business rules together using boolean logic |
53
- | [ state] ( state.py ) | logic is org'd into a discrete number of potential states and the next state that can be transitioned to |
53
+ | [ state] ( state.py ) | logic is organized into a discrete number of potential states and the next state that can be transitioned to |
54
54
| [ strategy] ( strategy.py ) | selectable operations over the same data |
55
55
| [ template] ( template.py ) | an object imposes a structure but takes pluggable components |
56
56
| [ visitor] ( visitor.py ) | invoke a callback for all items of a collection |
@@ -60,5 +60,4 @@ __Others__:
60
60
61
61
| Pattern | Description |
62
62
| :-------:| ----------- |
63
- | [ graph_search] ( graph_search.py ) | (graphing algorithms, not ete methods rather than having a huge number of constructor parameters |
64
63
| [ graph_search] ( graph_search.py ) | (graphing algorithms, not design patterns) |
0 commit comments