Problem Statement
When a request needs to be handled by one of many possible handlers, hardcoding the logic to decide which handler processes it leads to rigid, hard-to-maintain code. Adding new handlers or changing the order requires modifying existing code, increasing the risk of bugs and reducing flexibility.
