News and views from members of the Java team at Oracle
Data-oriented programming focuses on modeling data as data (instead of as objects). Records for data and sealed types for alternatives let us model immutable data where illegal states are unrepresentable. Combined with pattern matching we get a safe, powerful, and maintainable approach to ad-hoc polymorphism that lets us define operations on the data without overloading it with functionality.
Data-oriented programming:
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.