From Dev.to
Behavioral Design Patterns: Strategy, Observer and Command
Your shop has a discount rule that changed three times this quarter, a cart icon that must update in four places, and a support request: “can the customer undo that?” Each is a question about how obje...
