Functional Domain Modeling in Kotlin
Xebia
MARCH 9, 2023
This article was originally published at 47deg.com on February 11, 2021. Depending on if isOnline is true , url will be non-null and vice-versa for address. However, after checking isOnline , both url and address is still null, so we’ll end up with code like this. This is a common encoding, but can be quite problematic.
Let's personalize your content