Autumn Campus 2023
With record types to better domain models
Not everything in the world is an object. Therefore, Domain-Driven Design (DDD) defines various design patterns, such as Entity, Value Object, Repository, etc. Recently, Oracle and Microsoft have added Record Types (Java 14, C# 9) and Record Structs (C# 10) to their languages. These help in many cases to implement the Value Objects from DDD. This way we can express our domain in a natural way and reduce boilerplate code.
Prior knowledge:
- Experience in Java or C#
Learning Objectives:
- What's behind the battle cry "Codes Like a Class - Works Like an Int".
- Why immutability leads to fewer errors
- The new syntax for supporting record types
- How value types are implemented in other languages
- And most important: how record types can help us build a more understandable domain model
Date & Place
07 September 2023 | 14:20 - 15:30
Nuremberg | TH Nuremberg