nwillc
nwillc
Nov 5 · 1 min read

I didn’t take away from the quote that Kotlin generated better byte code. If the measure of a language is its raw ability closer to the metal we should all be coding assembler. I don’t think as, Marko Mitic expressed, that optimal Kotlin would generate better byte code than optimal Java. The point was that decent idiomatic Kotlin, leads to a holistically better application than similar quality Java. It’s a holistic improvement. The code will be cleaner, more legible, more DRY, more maintainable and the resultant app is likely faster and more efficient overall, even if the line by line conversion isn’t as good. Have you ever done proper tail recursion in Java? I’m not sure I have. Without going deep into the byte code I just wouldn’t know. I have in Kotlin. It was simple and straight forward.

    nwillc

    Written by

    nwillc

    Graybeard code monkey, started on an Apple IIe, got a CS degree in the 80’s, and coded my way through C, C++, Objective-C, Java. Now livin’ la vida Kotlin.