News for hackers. Stuff that matters.
Re:Java Is in Decline, and There's Data to Prove It by pulse7 on Sunday January 01, 2023 @11:14AM (#34207517)
If this is the "biggest advantage Kotlin has right now" then it doesn't have much added value... Would you rewrite existing code base with millions of lines of code just to get null safety? If THIS is the biggest advantage of Kotlin, then Kotlin is on the same path as Groovy was a decade ago...

In order to replace Java and it's ecosystem one would need to offer MUCH MORE than just null safety...

Re:Java Is in Decline, and There's Data to Prove It by joe_fishfish on Sunday January 01, 2023 @06:04PM (#34212049)
It would depend on the state of that codebase, really. If it’s well tested and does its job well, I wouldn’t bother rewriting it at all.

But certainly if I were to add new features to an existing Java codebase I’d use Kotlin. The interop between the two is fantastic and for me the null safety alone makes it worthwhile.