louiscad
10/06/2020, 7:51 AMprimitive class is less confusing for value types, and inline class makes more sense for Kotlin's usage.elizarov
10/08/2020, 12:49 PMlouiscad
10/08/2020, 1:12 PMinline wasn't a good name for type values either, do you agree?
Shouldn't value types be called `struct`s as in C, C++ and Swift? I think that is more self-explanatory to what it is.
Regarding Kotlin inline classes, I think the inline keyword is alright, I read it like "usages of this class will be inlined whenever possible to the wrapped type". A @JvmPrimitive annotation would limit it to the JVM while it can work in JS and possibly other targets. Maybe you have something different in mind though?elizarov
10/08/2020, 1:15 PM