Decouple object interaction with a ‘Mediator’ like pattern in Ruby

Design patterns are reusable solutions to a commonly occurring problem within a given context in software design [1]. Having design patterns in mind is a good habit in general, but it should be avoided to apply them from the beginning. Thinking about good design is a good thing but applying it all the time can hurt your software, maintenance and the effort that someone needs to put in order to understand what a single class does. Applying patterns all the time in my opinion especially for simple tasks will complicate things and we will end up in over-engineering solution and unnecessary complexity to our software.
Decouple object interaction with a ‘Mediator’ like pattern in Ruby #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/decouple-object-interaction-with-a-mediator-like-pattern-in-ruby

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles