Tag Java

Structural Design Pattern: Bridge

The Bridge Design Pattern is a structural pattern that decouples an abstraction from its implementation so that both can vary independently. It is commonly used when a class grows in two orthogonal dimensions and inheritance alone cannot prevent the explosion of subclasses.

Structural Design Pattern: Flyweight

The Flyweight pattern is one of the most resource-conscious patterns in existence. While the Singleton pattern was created to ensure a single instance of a class exists, the Flyweight pattern was created to handle millions of instances without crashing your memory.

Java 25: The ‘No-Boilerplate’ Era Begins

JDK 25 has arrived, marking a massive milestone for the Java platform! As a Long-Term Support (LTS) release, JDK 25 finalizes many of the features we've been experimenting with in preview modes, while introducing powerful new runtime optimizations.