Object-Oriented Programming (OOP) vs. Data-Oriented Programming (DOP) in Java

Published: 23 June 2024
on channel: Adam Bien
842
25

An airhacks.fm (https://airhacks.fm) conversation with Nicolai Parlog (@nipafx (  / nipafx  ) ) about:
the advantages and challenges of Object-oriented programming (https://en.wikipedia.org/wiki/Object-...) (OOP) vs data-oriented programming (https://en.wikipedia.org/wiki/Data-or...) (DOP) in Java (https://www.java.com/en/) ,
using Java record classes, sealed interfaces, and switch expressions to implement business logic outside of data classes,
the advantages of polymorphism (https://en.wikipedia.org/wiki/Polymor...) and transparent persistence in specific use cases,
the pitfalls of deep inheritance hierarchies and instance of checks,
modeling data with records and sealed interfaces,
validating data at the boundaries and ensuring immutability,
using switch expressions and pattern matching (https://openjdk.java.net/jeps/420) for type-based logic,
the advantages of data-oriented programming for maintainability and safety,
applying data-oriented programming to web services and data pipelines,
combining enums with records for complex configurations


Nicolai Parlog on twitter: @nipafx (  / nipafx  )


On this page of the site you can watch the video online Object-Oriented Programming (OOP) vs. Data-Oriented Programming (DOP) in Java with a duration of hours minute second in good quality, which was uploaded by the user Adam Bien 23 June 2024, share the link with friends and acquaintances, this video has already been watched 842 times on youtube and it was liked by 25 viewers. Enjoy your viewing!