Re:Translating 10M lines of Java to Kotlin
by spullara on Saturday December 21, 2024 @07:45PM
(#42483560)
This seems like a huge waste of time unless they expect Google to deprecate Java on Android - which isn't impossible.
[ Parent
| on HN ]
Re:Translating 10M lines of Java to Kotlin
by politelemon on Saturday December 21, 2024 @07:49PM
(#42483580)
Some of the newer material libraries are kotlin only. It does seem to be happening.
Re:Translating 10M lines of Java to Kotlin
by wg0 on Saturday December 21, 2024 @08:20PM
(#42483724)
Kotlin can't be called from Java land?
Re:Translating 10M lines of Java to Kotlin
by senorrib on Saturday December 21, 2024 @09:08PM
(#42483913)
It can.
Re:Translating 10M lines of Java to Kotlin
by kalind on Sunday December 22, 2024 @10:14AM
(#42486830)
Jetpack Compose cannot be written in Java because it relies on a Kotlin compiler plugin to transform composable functions.
Re:Translating 10M lines of Java to Kotlin
by jillesvangurp on Sunday December 22, 2024 @02:08PM
(#42488348)
With some limitations. Mostly writing Kotlin code that is a used friendly enough for Java developers requires a bit of extra effort. It's not something that a lot of Kotlin developers waste time on.
Re:Translating 10M lines of Java to Kotlin
by lawgimenez on Sunday December 22, 2024 @02:20AM
(#42484881)
You can’t use Jetpack Compose with Java.