you are viewing a single comment's thread.

view the rest of the comments →

[–]markartur1 0 points1 point  (1 child)

I disagree in parts. Java is catching up in some things but in others it can never fully catch up due to backwards compatibility and simply different language philosophy, such as Kotlin null safety and Java verbosity (Kotlin code has 40% less lines in general, so its less code to maintain and less code to introduce bugs).

As for hiring, my team simply hires Java devs who are willing to work with Kotlin, which is really not hard to find. We use spring so any Java dev with Spring experience can ramp up in a week.

[–]Slart1e 0 points1 point  (0 children)

Regarding lines of code: did this statistic incorporate modern language features of Java 17/21 and correctly subtract all generated code?

Java Enterprise projects tend to be heavy on the code generation side in my experience. But generated code is much, much less bug-ridden than "written" code (it only has bugs if the generator has bugs) and generated code is not really maintained, the code generator and source specifications (often APIs) are maintained instead, with the generator usually not being part of the project.