News and views from members of the Java team at Oracle
Is it ok to use Optional as parameter type? Overloading is an alternative, but how well does it stack up? Thoughts on this question (and other Optional-related ones) can usually be put into one of three (and a half) categories.
Overloading:
Discussing Optional:
Optional camps:
dev.java: the destination for Java developers
OpenJDK: the place to collaborate on the Java Platform and related projects
Oracle Java: the #1 programming language and development platform
The Inside Java Newscast is a monthly YouTube show - check out the YouTube playlist for all the episodes. Since 2026, we also publish it as a podcast. For more Java news, subscribe to our RSS feed and follow @Java on X.