Record patterns are coming to Java

Enhance the Java programming language with record patterns, to deconstruct
record values. Record patterns, and type patterns (JEP 394) can be
nested so as to significantly enhance the expressiveness and utility of pattern
matching. This is a preview langu… Read more

Similar

The Cost of Java’s EnumSet

It’s been about a decade since I last worked in Java and much has changed. I thought I’d brush up by re-reading Effective Java by Joshua Bloch which has since received a new edition. It was once my guiding star for Java. However, after an additional decad... (more…)

Read more »

The myth of using Scala as a better Java

When people talk about their experience with Scala, they often say that it is possible to use Scala as a better Java. And indeed, many companies, especially the ones that adopted Scala around 2008-2009, didn't want to give up the familiar tooling and simp... (more…)

Read more »

Using Java for Scripting, with Jbang

Want to use Java for scripting? Meet - j'bang! A new tool in the wild that makes it easy to use your java code as a script. I have used a custom bash script for writing a cloudflare DDNS update. In this post, we will explore if we can use a java class to ... (more…)

Read more »