Data Oriented Programming in Java 21 by Nicolai Parlog

Published: 31 January 2024
on channel: Devoxx
19,060
477

In data-oriented programming (DOP), we model data as data and polymorphic behavior with pattern matching. This talk will introduce the concept of DOP and its four principles:

model the data, the whole data, and nothing but the data
data is immutable
validate at the boundary
make illegal states unrepresentable

We'll also explore how to use pattern matching as a safe, powerful, and maintainable mechanism for ad-hoc polymorphism on such data that lets us define operations without overloading the types with functionality. The talk ends with a juxtaposition to OOP, so you not only learn how to employ DOP but also when (not).


On this page of the site you can watch the video online Data Oriented Programming in Java 21 by Nicolai Parlog with a duration of hours minute second in good quality, which was uploaded by the user Devoxx 31 January 2024, share the link with friends and acquaintances, this video has already been watched 19,060 times on youtube and it was liked by 477 viewers. Enjoy your viewing!