Algorithms: patterns

From wikinotes
Revision as of 23:22, 26 November 2022 by Will (talk | contribs) (→‎Notes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.