Algorithms: patterns: Difference between revisions

From wikinotes
No edit summary
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
See Also [[Programming: Concurrency Patterns]]
= References =
<blockquote>
{| class="wikitable"
{| class="wikitable"
|-
|-
| [[singleton pattern]] ||
| Wikipedia: Software Design Patterns || https://en.wikipedia.org/wiki/Abstract_factory_pattern#External_links
|-
|-
| [[strategy pattern]] ||  
|}
</blockquote><!-- References -->
 
= Notes =
<blockquote>
{| class="wikitable"
|-
| [[singleton pattern]] || lazily evaluated global variables ++ logic
|-
| [[strategy pattern]] || AKA - interfaces are dope
|-
|-
| [[observer pattern]] ||
| [[observer pattern]] || register subscriptions, send events to them
|-
|-
| [[factory pattern]] || choose/instantiate a concretion of an interface. encapsulate conditionals.
|}
|}
</blockquote><!-- Notes -->

Latest revision as of 23:22, 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 lazily evaluated global variables ++ logic
strategy pattern AKA - interfaces are dope
observer pattern register subscriptions, send events to them
factory pattern choose/instantiate a concretion of an interface. encapsulate conditionals.