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 . 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 #rails #rubyonrails #bosnia #programming #tutorials #rubydeveloper #railsdeveloper