Victor de Franciscovicdefran.hashnode.dev·May 21, 2024Domain Model Design Enhancement with Rich Types and Static Analysis in KotlinIntroduction Following an object oriented paradigm, when facing a new domain modelling need, usually the approach is to encapsulate elements having some kind of relationship together into a type. package com.myapp.domain data class Ad( val id: I...78 readsKotlinAdd a thoughtful commentNo comments yetBe the first to start the conversation.