State Pattern: Behavior Based on State
Every developer has written code like this at some point:
Read more →Every developer has written code like this at some point:
Read more →You’ve got a notification system. It sends emails. Then you need SMS notifications. Then Slack. Then you need to log all notifications. Then you need to retry failed ones. Then you need rate limiting.
Read more →