News

It’s not easy to keep up with Java’s frequent feature releases. If you missed sealed classes, text blocks, records, the new string methods, or the Optional class, let’s fix that.
Java 12 arrives with switch expressions to improve coding and allow pattern matching, and raw string literals to simplify multiline expressions The production release of Java Development Kit 12 ...
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 ...
switch statement expressions; and; sealed classes. Java Records. One knock about the Java programming language is its needless verbosity and ceremony, especially compared to other programming ...
In Java, I was surprised by how close the performance was for standard regular expressions to using string primitives. String primitives took 188 ms to process the 100,000 lines. Standard regular ...