Chain of Responsibility is a behavioral design pattern that lets you pass requests along a chain of handlers. Upon receiving a request, each handler decides either to process the request or to pass…
Tag: Patterns
Four Meta-Design Patterns in ruby
1. Separating out the things that change from those that stay the same. Obviously, we do it to avoid the tight coupled code, get it easy to make changes with less cost….
SOLID – Fundamental OOP Principles
S – Single Responsibility Whenever we create a class or method or even variable, we create each one with only one responsibility. If we create “sing” method, we can’t implement “dance” behavior…