Algorithms: patterns: Difference between revisions

From wikinotes
Line 18: Line 18:
| [[strategy pattern]] ||
| [[strategy pattern]] ||
|-
|-
| [[observer pattern]] ||
| [[observer pattern]] || register subscriptions, send events to them
|-
|-
| [[factory pattern]] || choose/instantiate a concretion of an interface
| [[factory pattern]] || choose/instantiate a concretion of an interface
|}
|}
</blockquote><!-- Notes -->
</blockquote><!-- Notes -->

Revision as of 23:19, 26 November 2022

See Also Programming: Concurrency Patterns

References

Wikipedia: Software Design Patterns https://en.wikipedia.org/wiki/Abstract_factory_pattern#External_links

Notes

singleton pattern
strategy pattern
observer pattern register subscriptions, send events to them
factory pattern choose/instantiate a concretion of an interface