Kotlin curious? #2975
Closed
chris-hatton
started this conversation in
General
Kotlin curious?
#2975
Replies: 2 comments 2 replies
-
|
I don't care what gets done, can we please just do something that doesnt break UI/UX for a change and actually make the client better? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
We use Kotlin elsewhere (https://github.com/FAForever/faf-telemetry-server, https://github.com/FAForever/faf-user-service, https://github.com/FAForever/faf-java-commons/tree/develop/faf-commons-lobby). From my experience with migrating large codebases I would stick to Java here. Java is improving a lot lately. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Long time FAF player, client user and software dev here.
I notice the project is currently all in Java. While that's fine; I've also had a lot of good experiences with migrating Java code-bases to Kotlin, making them easier to maintain: less error-prone, just less code-by-volume overall. Would a PR to demo migrating of a small section of the code to Kotlin be welcome? I understand it may not be, but if the Devs already here are curious, I could assist.
In case you're not aware, Kotlin is transparently interoperable with Java; there's no 'bridging' to speak of, you can include both languages side-by-side with no issues. While the main benefit is probably one of maintenance, introducing Kotlin also provides a potential pathway to Compose Multiplatform, longer term, in case the project outgrows JavaFX.
Beta Was this translation helpful? Give feedback.
All reactions