An airhacks.fm conversation with Nicolai Parlog (@nipafx) about:

the advantages and challenges of Object-oriented programming (OOP) vs data-oriented programming (DOP) in Java,

using Java record classes, sealed interfaces, and switch expressions to implement business logic outside of data classes,

the advantages of polymorphism 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 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

Podden och tillhörande omslagsbild på den här sidan tillhör Adam Bien. Innehållet i podden är skapat av Adam Bien och inte av, eller tillsammans med, Poddtoppen.