PieLauncher icon indicating copy to clipboard operation
PieLauncher copied to clipboard

Migrate from Java to Kotlin?

Open Pentaphon opened this issue 1 year ago • 3 comments

Thoughts on the future of this app in Kotlin?

Pentaphon avatar Feb 23 '25 07:02 Pentaphon

While I really like Kotlin, and have several other apps written in it, I don't see any value in converting just for the sake of it.

Sure, Kotlin is nice, and has a more modern syntax. But Java is not dead, nor deprecated, and I'm just as productive in Java as I am in Kotlin. For me, a programming language is really just a tool.

Apart from that, Java means faster compilations and a smaller build. Auto-converting would mean Java-in-Kotlin paradigms, the work of changing this to idiomatic Kotlin, and the risk of introducing bugs in the process. So there's really not much to win here, I'm afraid. Especially from a user's perspective.

The only advantage I can think of is that Kotlin is probably more attractive for contributors. So maybe someday in the future.

markusfisch avatar Feb 23 '25 19:02 markusfisch

The only advantage I can think of is that Kotlin is probably more attractive for contributors. So maybe someday in the future.

Exactly my thoughts. I think that alone is worth considering it. Perhaps a contributor could also help with migration.

Pentaphon avatar Feb 23 '25 22:02 Pentaphon

I think that jumping from one chair to another is not a very good idea since the launcher is already very stable. Recoding the launcher is difficult and tedious.

ghost avatar Mar 19 '25 09:03 ghost