https://kotlinlang.org logo
s

stangl0r

12/19/2016, 7:10 PM
Actually, what would be easier and even sufficcient for probably a lot of use cases is to have very limited classes, which allow these kind of fancy stuff more easily. I'm thinking of C++ struct type here, without methods and other "fancy" class-stuff.