Kotlin Data Classes, shallow copies and immutability
Are #Kotlin data classes immutable? And does the copy method create shallow or deep copies of my class instances? Let's have a look together
https://lengrand.fr/kotlin-data-classes-shallow-copies-and-immutability/
Are #Kotlin data classes immutable? And does the copy method create shallow or deep copies of my class instances? Let's have a look together
https://lengrand.fr/kotlin-data-classes-shallow-copies-and-immutability/