If data class is meant for storing data, why don’t the compiler block adding of methods. I’m thinking it should be treated like a “struct” on C. What do you all think?
submitted by /u/crazyfriedtofu
[link] [comments]
If data class is meant for storing data, why don’t the compiler block adding of methods. I’m thinking it should be treated like a “struct” on C. What do you all think?
submitted by /u/crazyfriedtofu
[link] [comments]