Data Oriented Programming in Java

Project Amber has brought a number of new features to Java in recent years -- local variable type inference, text blocks, records, sealed classes, pattern matching, and more. While each of these features are self-contained, they are also designed to work together. Specifically, records, sealed classes, and pattern matching work together to enable easier data-oriented programming in Java. In this article, we'll cover what is meant by this term and how it might affect how we program in Java.

More at