Nice and Naughty Cases of Pattern Matching
Explores the effective and ineffective use of pattern matching in Java, including best practices, antipatterns, and corner cases.
Cay Horstmann’s Unblog features deep, experience-driven insights into modern Java, covering pattern matching, JVM internals, Maven tooling, performance, and practical programming lessons from decades of expertise.
9 articles from this blog
Explores the effective and ineffective use of pattern matching in Java, including best practices, antipatterns, and corner cases.
A developer investigates why Project Valhalla's object flattening doesn't work for LocalDate arrays in a custom JDK build, uncovering serialization and nullability issues.
The exec-maven-plugin now supports Java 25's JEP 512 launchable main methods, allowing execution of simpler void main() programs.
A guide to setting up Java development in Emacs using the Language Server Protocol (LSP) and the Eclipse JDT server for a lightweight, customizable coding experience.
A developer's opinionated review of Java 25's new features, JEPs, and its status as an LTS release, highlighting key improvements.
A developer recounts a Kafkaesque ordeal with a rental car breakdown and unhelpful roadside assistance after attending the Java One conference.
Explains how new Java features like unnamed classes and simplified main methods make teaching introductory programming easier.
Using DeepSeek AI to write and refine a Java solver for the 'Crazy Cheeze' puzzle, exploring code generation and evaluation.
Final part of an Advent of Code series focusing on solving grid and graph problems in Java, with insights on API design.