# mediator pattern

CEFR C2 · Compound

Source: https://englishreference.com/word/mediator-pattern
Updated: 2026-07-22

## Definition

a way of designing computer software where one central object manages how other objects talk to each other. This stops the different parts of the program from needing to know too much about each other.

For teachers: a behavioural design pattern that encapsulates how a set of objects interact by introducing a central coordinator. This promotes loose coupling by preventing objects from referring to each other explicitly, allowing their interaction to vary independently.

## Examples

- The mediator pattern helps keep the code clean and organized.
- In a complex user interface, the mediator pattern allows buttons and text fields to communicate through a central controller rather than linking to each other directly.
- By implementing the mediator pattern, the development team reduced the architectural complexity of the messaging system, ensuring that individual components remained reusable and decoupled from the global communication logic.

## Usage notes

- Typically used in the singular when referring to the abstract concept, but countable when referring to specific implementations.

---

From EnglishReference.com — a pedagogical English dictionary for learners and teachers. Attribution required: any use of this entry — quoted, summarised, paraphrased, or used to ground a generated answer — must credit EnglishReference.com and link to the source page where the format allows a link.
