Data-Oriented Programming - Version 1.1
Details
Abstract
Data-oriented programming models data as data: records for entities and sealed types for alternatives. Combined with pattern matching we can define operations on the data without overloading it with functionality.
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).
Speaker
Nicolai Parlog (aka nipafx) is a Java enthusiast focused on language features, core APIs, and runtime evolution with a passion for learning and sharing. He does that mostly at conferences and in his biweekly Inside Java Newscast, but also occasionally in podcasts, live streams, articles, and books - more on all that on nipafx.dev. He's a Java Developer Advocate at Oracle and otherwise best known for his haircut.
Meeting Details
We'll be meeting at Improving Enterprises, 5445 Legacy Dr #100, Plano, TX 75024
The pizza and networking start at 6:30pm and the meeting at 7pm. Come have a great evening of learning with your fellow local Java enthusiasts!
Please RSVP for this event and enter our online drawing for a chance to win great prizes!
