I'm writing Kotlin code, but I would like to see how it would look like in Java to see how much lines I'm saving.
a
aidanvii
09/10/2017, 11:17 AM
Tools>Kotlin plugin>show bytecode
That updates on the fly, but you need to manually hit decompile to see the Java code
a
anstaendig
09/10/2017, 12:56 PM
That does not really tell you how much LoC you save because the Java code it translates to and the code you would write yourself a trip very different things. Especially when you use concepts from kotlin that do not exist in Java
v
viliusk
09/10/2017, 8:58 PM
Not really what I was looking, but that's great as well. I talked to Hadi Hariri on Twitter and he said, that what I saw during conference was just two separate files