JEP Draft: Switch Expressions for the Java Language

Add switch expressions to the Java Programming Language, and improve the handling of null values in switch statements. These will simplify everyday coding, as well as prepare the way for the use of pattern matching in switch. Read more

Similar

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 »