Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Java is superior to Kotlin from Java 21 onwards, esp with virtual threads and no function coloring and far shorter compile times. Kotlin has the advantage of lower verbosity of-course, but that is not an advantage when code browsing at 3am.

Kotlin styles also differ considerably unlike Java which is far more uniform in comparison.



I think the idea behind Kotlin is that you don't have to do code browsing at 3 am, because you've already finished all your work by 5 PM.


You might have finished your work but not your project compilation - would need to set an alarm clock at night.

Threads like the below are surprisingly common even after several improvements in recent years.

https://discuss.kotlinlang.org/t/compiling-kotlin-is-x100-sl...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: