Why do data classes not implement Serializable?
问题 I am new to kotlin but a veteran of scala . The former has impressed me so far. But at this moment I am working through a head scratcher - that the data class does not implement Serializable . How a class with that name could expected to not be routinely expected to be used in that manner eludes me. What are the technical challenge(s) that precluded that support? I'm interested because i'd like to create a wrapper. It seems that the expectation is to always provide a serializer() ? That is