News

JEP 441, Pattern Matching for the switch, is completed in JDK 21, following four previews in JDKs 17-20 (JEPs 406, 420, 427, 433). It finalizes the feature, addressing feedback from previews, and enha ...
Two OpenJDK draft proposals would enhance the expressiveness of pattern matching in Java and boost data-oriented queries, potentially previewing in Java 17.
As with all design patterns, it’s very important to know when to apply the Command pattern, and when another pattern might be better. Using the wrong design pattern for a use case can make your ...