Records
Records and Sealed Classes: Better Domain Models in Java
Java domain modeling has historically been verbose and error-prone. Entity classes with dozens of getter/setter pairs, …
Pattern Matching in Modern Java: Records, Switch, and Exhaustiveness
Pattern matching in Java 21 is the culmination of several interconnected features: instanceof patterns (Java 16), sealed …
Java 17 to 21: Modern Java Is a Different Language
Java 21 is the current long-term support release as of late 2024, and it represents something unusual: a Java that looks …
Java 9 to 17: The Language Features You Should Actually Be Using
Java 8 was a turning point. Lambdas and streams changed the language substantially. Then came a long stretch where each …