techadora.hashnode.devProxy Design PatternThe Proxy Design Pattern is a structural design pattern. The Proxy Design Pattern acts as a middleman between the client (user) and the actual object. Instead of interacting directly with the original object, the client talks to the proxy, which cont...Mar 12, 2025·5 min read
techadora.hashnode.devComposite Design PatternThe Composite Design Pattern is a structural pattern that allows treating individual objects and compositions of objects uniformly. It is useful when you need to represent a hierarchy of objects, such as a tree structure. Components of the Composite ...Mar 4, 2025·3 min read
techadora.hashnode.devFacade Design PatternThe Facade Pattern is a structural design pattern that simplifies interactions between the client and a complex system by providing a single, easy-to-use interface. When to Use Facade Pattern? When a system has too many complex subsystems that need ...Mar 2, 2025·3 min read
techadora.hashnode.devAdapter Design PatternThe Adapter Design Pattern is a structural design pattern that allows two incompatible interfaces to work together without modifying their code. It acts as a bridge between them. Use Case of the Adapter Pattern When you have a legacy system with exi...Feb 28, 2025·3 min read
techadora.hashnode.devWhy does Java use a generational garbage collection approach instead of treating all objects the same during garbage collection?The generational garbage collection approach in Java (used in the JVM's Garbage Collector) is beneficial because of the weak generational hypothesis, which states: Most objects die young – The majority of objects are short-lived and become unreachab...Feb 25, 2025·3 min read