Название: Data-Oriented Programming in Java (MEAP v8)
Автор: Chris Kiehl
Издательство: Manning Publications
Год: 2025
Страниц: 333
Язык: английский
Формат: pdf, epub
Размер: 16.8 MB
Simplify your Java code with data-oriented programming! Data is the heart of your code. Data-oriented programming is a programming technique that enables you to precisely model domains and write large enterprise-scale applications that are oriented around the data they manage. Take a data-oriented approach to your Java applications, and you’ll enjoy simpler state management, improved readability, and no more state-related bugs! Data-Oriented Programming in Java teaches you how to use immutable strongly typed data effectively and take full advantage of the modern data-oriented features built into the Java language. In Data-Oriented Programming in Java you’ll learn what you might have thought was impossible: how to use Java’s type system to make code self-documenting, implicit behaviors explicit, and incorrect states impossible to even compile. This practical book teaches you how to use records, sealed classes, and pattern matching to represent the data in your domain, explore data’s inherent meaning and semantics, and represent them in their code. Each new concept is fully illustrated with a hands-on example that demonstrates how DOP helps you write scalable, testable, and maintainable code. For intermediate Java programmers.