Category

Software Engineering

Category

The Interpreter Design Pattern guides us in constructing a hierarchy of expressions capable of evaluating sequences of symbols. This pattern is commonly used for evaluating expressions, statements, or entire languages. It can be applied to a wide range of applications that involve analyzing sequences of symbols, whether they are words, sentences, or any other type, and make sense of them.

The Mediator Pattern is responsible for controlling and coordinating the interactions between different objects. The pattern promotes decoupling between different components that otherwise would end up interconnected. The Mediator acts a hub, containing logic to facilitate information dispatching between components.