from-java-to-kotlin icon indicating copy to clipboard operation
from-java-to-kotlin copied to clipboard

Should we consider adding the Java code decompiled from Kotlin?

Open Iceberry-qdd opened this issue 3 years ago • 0 comments

Would it be possible to consider adding Java code decompiled from Kotlin for each example? This would make it more intuitive to see the differences between the two.

An example is as follows:

Print to Console

Java

System.out.print("Amit Shekhar");
System.out.println("Amit Shekhar");

Kotlin

print("Amit Shekhar")
println("Amit Shekhar")

Java(Decompiled from the above Kotlin code)

System.out.print((Object) "Amit Shekhar");
System.out.println((Object) "Amit Shekhar");

Iceberry-qdd avatar Mar 09 '22 06:03 Iceberry-qdd