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

Опубликовано: 23 Июнь 2024
на канале: 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  )


На этой странице сайта вы можете посмотреть видео онлайн Object-Oriented Programming (OOP) vs. Data-Oriented Programming (DOP) in Java длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Adam Bien 23 Июнь 2024, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 842 раз и оно понравилось 25 зрителям. Приятного просмотра!