[Solved] What is the difference between interpreter and mediator design pattern? [closed]

[ad_1]

Interpreter pattern is used to interpreter a (domain) language defined with grammatical rules.
Mediator is used when it is hard to achieve synchronization among the lot of objects, then communication goes via mediator.

Hope that this helps.

[ad_2]

solved What is the difference between interpreter and mediator design pattern? [closed]