You are currently viewing Making my Kotlin code more “Kotlin-y”

Making my Kotlin code more “Kotlin-y”

Just a quick question about syntax and the difference from Java.

I’ve recently written my first actual project in Kotlin and plan to release it to the Play Store, but I’m concerned that, since Kotlin also supports Java syntax, that my code isn’t as ‘Kotlin-y’ as it could be. Is there some service that can scan my code and reformat it to more Kotlin-accurate ssyntax, like how the IntelliJ IDEA converts Java files to Kotlin files? I’d like to see how it should look for the sake of learning.

Thanks in advance.

submitted by /u/Schindlers_Fist1
[link] [comments]