Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I just started too but I’m really liking it.
I come from c# land though not Java -
Kotlin is awesome! It fixes almost everything that‘s wrong with Java. It could be even better (like having value types) but it’s limited by Java‘s JVM.
My favorite part about Kotlin is the initialization syntax and capabilities. No other languages does it that well. Not even Swift. And there is so much more. How can you not fall in love with that? -
@Lensflare I thought that value types were what the ‘data’ type was for.
I could be wrong though because I’m new to it. -
@TrevorTheRat nope. Data classes are just classes which are meant to hold data. They have reference semantics but you get synthesized methods like copy() to be able to use them somewhat similarly to value types, but not really :)
As far as I know, the JVM is not capable of having true custom value types.
Related Rants
I tried Kotlin for a week. And I literally gave up. Hey, fellow Kotlin devs, what fun do you get in writing this short f**king syntactically unmatched java code!
rant
kotlin