Decouple object interaction with a ‘Mediator’ like pattern in Ruby
30-May-2019 2101
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 #Decouple #object #interaction #‘Mediator’ #pattern https://rubyonrails.ba/link/decouple-object-interaction-with-a-mediator-like-pattern-in-ruby