MMaverickinjyanshu.hashnode.dev·Jun 22 · 10 min readVisitor PatternThe Visitor Pattern is a behavioral design pattern that lets you add new operations to existing class hierarchies without modifying them. Instead of putting the new behavior inside the classes, you mo00
MMaverickinjyanshu.hashnode.dev·Jun 22 · 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·Jun 22 · 8 min readTemplate Method PatternThe Template Method Pattern is a behavioral design pattern that defines the skeleton of an algorithm in a base class and lets subclasses override specific steps—without changing the overall structure.00
MMaverickinjyanshu.hashnode.dev·Jun 22 · 9 min readMemento PatternThe Memento Pattern is a behavioral design pattern that lets you capture an object's internal state and restore it later—without violating encapsulation. It's the pattern behind every "Ctrl+Z" you've 00
MMaverickinjyanshu.hashnode.dev·Jun 19 · 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·Jun 19 · 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·Jun 18 · 11 min readFacade Design PatternThe Facade Pattern is a structural design pattern that provides a simplified, unified interface to a complex subsystem. Think of it as the "front desk" of a hotel—instead of dealing with housekeeping,00
MMaverickinjyanshu.hashnode.dev·Jun 18 · 12 min readComposite Design PatternThe Composite Pattern is a structural design pattern that lets you compose objects into tree structures to represent part-whole hierarchies. It allows clients to treat individual objects and compositi00
MMaverickinjyanshu.hashnode.dev·Jun 18 · 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
AAtreyainbitwise-breakdown.hashnode.dev·Jun 13 · 15 min readSomeone Split Your Computer In Half: And Somehow It Still WorksWhy are the CPU and RAM two different chips?Genuinely. Who decided that? At some point someone drew a line down the middle of a computer, compute goes here and memory goes there and everyone just went00