Modern Java - Ask Me Anything
An expert invites questions about modern Java features, projects, and upcoming presentations at tech conferences.
Nicolai Parlog (nipafx) is a Java Developer Advocate at Oracle who shares deep insights on Java through blogs, talks, books, videos, and open-source projects, helping developers learn and grow.
297 articles from this blog
An expert invites questions about modern Java features, projects, and upcoming presentations at tech conferences.
Brian Goetz discusses the current state and future of pattern matching in Java, covering null handling, switch exhaustiveness, and design challenges.
JDK 18 introduces a new Javadoc feature to embed compiled and tested code snippets, ensuring documentation examples stay up-to-date.
A guide to configuring Maven to compile and test Java code snippets referenced by Javadoc's new @snippet tag, ensuring examples stay up-to-date.
A deep dive into when and how to use Java's Optional type, analyzing common arguments and alternatives like method overloading.
A deep dive into the pros and cons of using Java's Optional type for method parameters, analyzing common arguments and patterns.
Overview of Java's key projects (Valhalla, Panama, Loom, Amber) for 2022, including their goals, current state, and future plans.
Project Loom introduces structured concurrency with virtual threads, a new paradigm for writing concurrent Java code, as discussed in the Inside Java Newscast.
Explores the deprecation of finalization in JDK 18, detailing its flaws and the future of resource management in Java.
A Java developer advocate shares 11 useful tips and tricks for Java developers, covering records, patterns, jpackage, and more from dev.java.
Oracle announces faster Java LTS releases every 2 years and free JDK binaries for Java 17, covering key updates from the Inside Java Newscast.
Java 17 introduces a new random number generator API with a unified interface hierarchy, improving code reuse and flexibility for developers.
An interview with Brian Goetz discussing the goals, progress, and JEPs of Project Valhalla, which aims to unify Java's primitive and reference types.
Explores JDK 16's new Unix domain sockets for faster and more secure inter-process communication, even on Windows.
Explores Java 17's improved random number generation API and provides a practical guide to using JDK Flight Recorder for application diagnostics.
Java Newscast covers incremental platform evolution, pattern switches vs Visitor Pattern, and native Wayland support in OpenJDK.
Argues that Java's pattern switches are a simpler, more modern alternative to the traditional Visitor design pattern for separating operations from object structures.
Java Newscast episode covering null handling strategies and upgrading from Java 8, using Netflix's jump to Java 16 as an example.
An interview with Project Panama lead Maurizio Cimadamore on improving Java's native code interoperability, covering APIs, performance, and timeline.
A practical guide to Java's module system, covering benefits, challenges, and real-world implementation strategies.