So I was thinking about something. Please let me k...
# announcements
k
So I was thinking about something. Please let me know if this has been done, is possible, and makes sense. You could create a “simulate” a value type in Java/Kotlin by using a processor on your code. You would annotate some class @Struct. Then where ever the class was used the processor would deconstruct it into its value types, including in arguments in methods. The processor would turn all the Structs methods into static methods or inline them.