World Congress 2025

Data-Oriented Programming - Version 1.1

July 10, 2025 17:30 – 18:00 · 30 min Stage 8
design patterns java

What this session covers

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 data immutably and transparently
  • model the data, the whole data, and nothing but the data
  • make illegal states unrepresentable
  • separate operations from data

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).

Related talks at this congress

Open session

World Congress 2025

July 10, 2025 · 12:50–13:20

Stage 4

Modern Java 25

Ron Veen

Java enthusiast and Special agent for Team Rockstars IT

Ron Veen
Open session

World Congress 2025

July 11, 2025 · 13:00–13:30

Stage 2

Modern Software Development – DORA all the way, or what?

Thomas Much

Technical Agile Coach. Tech. People. Together.

Thomas Much
Open session

World Congress 2025

July 11, 2025 · 11:00–11:30

Stage 1

Functional Programming in C++

Jonathan Müller

Software Engineer

Jonathan Müller
Open session

World Congress 2025

July 11, 2025 · 15:00–15:30

Stage 5

20 Years of Domain-Driven Design: What I’ve Learned About DDD

Eberhard Wolff

Head of Architecture, SWAGLab

Eberhard Wolff
All sessions at this congress