Using Record Types to Build Better Domain Models
Offered By: Devoxx via YouTube
Course Description
Overview
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
Related Courses
Play by Play: Developing Microservices and Mobile Apps with JHipsterPluralsight Software Archaeology - Learning from the Landing on the Moon
Devoxx via YouTube Create an Eco-Friendly World with Green Software Engineering
Devoxx via YouTube Platform Building for Data Mesh - Show Me How It Is Done
Devoxx via YouTube The Hitchhiker's Guide to Software Architecture and Design
Devoxx via YouTube