Underscore, Pattern Matching, Java LTS And When Previews Are Stable

APR 7, 202482 MIN
airhacks.fm podcast with adam bien

Underscore, Pattern Matching, Java LTS And When Previews Are Stable

APR 7, 202482 MIN

Description

An <a href="https://airhacks.fm">airhacks.fm</a> conversation with Nicolai Parlog (<a href="https://twitter.com/nipafx">@nipafx</a>) about: <blockquote>Nicolai previously on <a href="https://airhacks.fm/#episode_206">"#206 Java 19: Millions of Threads in No Time"</a>, discussion about the underscore feature in <a href="https://www.java.com/en/">Java</a> 22 and its importance in <a href="https://openjdk.java.net/jeps/420">pattern matching</a>, using the underscore for unused <a href="https://en.wikipedia.org/wiki/Lambda_architecture">lambda</a> parameters and deconstruction of records, avoiding default branches when switching over sealed types, the deprecation and removal of underscore as a regular variable name, the foresight of the Java community in making underscore unusable, the simplicity of installing Java compared to other languages, the need for a minimalistic Java build tool for better <a href="https://developer.mozilla.org/en-US/docs/Tools">developer experience</a>, <a href="https://sdkman.io/">SdkMan</a>, the <a href="https://rife2.com/bld">bld</a> tool as an example of a pure Java build tool, the process of contributing to OpenJDK and the importance of starting with a problem statement, the distinction between Java specifications and implementations, the concept of long-term support (LTS) in Java and its relation to vendors, the importance of using the right terminology to avoid misunderstandings in the Java ecosystem</blockquote> <p> Nicolai Parlog on twitter: <a href="https://twitter.com/nipafx">@nipafx</a></p>