I agree with your general sentiment of the mediator pattern not being strictly necessary every single time. However, if you look at it from an architectural standpoint, the mediator pattern implements a sort of request/response or messagging pattern in the application layer. Having this pattern, including all its middleware functionality then allows teams or developers to develop very clearly defined functionality. This paradigm can be very useful and productive, though obviously, it can be implemented in other ways than through a mediator, too.

--

Software Architect, Technology Writer, Philosophy Enthusiast

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Martin Cerruti

Martin Cerruti

Software Architect, Technology Writer, Philosophy Enthusiast