News for hackers. Stuff that matters.
Re:Java 21 makes me like Java again by x86x87 on Saturday September 16, 2023 @10:43PM (#37540974)
That escalated quickly. There are good and less good people everywhere and using language X does not automatically tell anything about you.

If anything I think the cases where you can use Go successfully are only o fraction of the cases where you can use Java successfully. It's not necessarily Java itself but the ubiquity of the JVM and its ecosystem (see Kotlin, see Scala as examplea that have leveraged this ecosystem successfully)

Re:Java 21 makes me like Java again by riku_iki on Sunday September 17, 2023 @01:22AM (#37541786)
> the cases where you can use Go successfully are only o fraction of the cases where you can use Java successfully

could you elaborate why do you think so, and maybe give examples of cases where Go can't compete with Java?..

Re:Java 21 makes me like Java again by Scarbutt on Sunday September 17, 2023 @02:42AM (#37542177)
Libraries for application programming, last time I used Go nothing came close to the Java PDF creation libs for example.
Re:Java 21 makes me like Java again by x86x87 on Sunday September 17, 2023 @11:52AM (#37546393)
Imho Go is really good for self contained micro-services. The way Go does binaries and the cross-compilation part are great.

Otoh, Java has a huge ecosystem. Huge. This plus dependency managemnt make it the first choice in most cases. Not even going to go into the massive innertia given that Java has been around for decades (who is going to rewrite everything in go?)

Today most of the time I pick Kotlin which is sort of whatbJava could have been (or maybe will become) with proper investment and care.