Kotlin Data Classes, shallow copies and immutability
_TL;DR: The data class copy method in Kotlin creates shallow copies and data classes are NOT immutable data structures by themselves. They become immutable though, if all of their properties are immutable themselves (_val_)._
_Note: You can run all t...
techbytes.hashnode.dev7 min read