MMaverickinjyanshu.hashnode.dev·1d ago · 7 min readMediator PatternThe Mediator Pattern is a behavioral design pattern that centralizes communication between objects. Instead of objects talking to each other directly (which creates a tangled web of dependencies), the00
MMaverickinjyanshu.hashnode.dev·4d ago · 9 min readIterator PatternThe Iterator Pattern is a behavioral design pattern that provides a way to access elements of a collection sequentially without exposing its underlying representation. It decouples the traversal logic00
MMaverickinjyanshu.hashnode.dev·4d ago · 12 min readInterpreter PatternThe Interpreter Pattern is a behavioral design pattern that defines a grammatical representation for a language and provides an interpreter to evaluate sentences in that language. It's particularly us00
MMaverickinjyanshu.hashnode.dev·4d ago · 10 min readCommand PatternThe Command Pattern is a behavioral design pattern that encapsulates a request as an object. This lets you parameterize actions, queue or log requests, and support undo/redo operations. It turns "do t00
MMaverickinjyanshu.hashnode.dev·5d ago · 7 min readFlyweight PatternThe Flyweight Pattern is a structural design pattern that minimizes memory usage by sharing common parts of objects instead of storing them separately. It separates intrinsic state (shared, immutable 00