Software Architecture · Design Patterns
What is a common mistake with Mediator pattern in Design Patterns?
Using a mediator as a global service locator can hide dependencies and make flows difficult to trace. In practice, the value of this concept comes from understanding where it belongs in the architecture, what problem it solves, and what constraints or tradeoffs it introduces.