Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Using Record Types to Build Better Domain Models

Devoxx via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the power of Record Types in building superior domain models in this 40-minute Devoxx conference talk. Dive into the concept that not everything in the world is an object, and discover how Domain-Driven Design (DDD) defines various design patterns like Entity, Value Object, and Repository. Learn about Java 14's introduction of Record Types as a step towards true value types. Examine the current status and future possibilities of Record Types, including the meaning behind "Codes like a class - works like an int," the benefits of immutability in reducing failures, and how value types enhance code readability and efficiency. Compare reference and value types, explore the new Java syntax supporting value types, and see how other languages implement them. Investigate inheritance in the context of value types and the advantages of stack versus heap data storage. Most importantly, understand how value types can significantly improve your domain modeling. Gain insights from Henning Schwentner, an experienced coder, coach, and consultant passionate about high-quality programming and sustainable architecture.

Syllabus

Using Record Types to Build Better Domain Models by Henning Schwentner

Taught by

Devoxx

Reviews

Start your review of Using Record Types to Build Better Domain Models

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.