Chain of Responsibility Design Pattern: Decoupling Complex Business Rules, One Handler at a Time
Every system, at some point, ends up with a function that nobody wants to touch. It starts small: a simple validation check, an if statement here, another...
Oluwaseyi Fatunmole - freecodecamp