Re:The Reason Java Is Still Popular
by LennyWhiteJr on Thursday September 22, 2022 @03:05PM
(#32943267)
Yup, I work at Amazon and my team along with many surrounding teams are only coding in Kotlin from this point on. The JVM and its ecosystem brings insane value to the table, and Kotlin lets you take all the benefits while removing most of the downsides of Java.
Re:The Reason Java Is Still Popular
by sandGorgon on Thursday September 22, 2022 @03:14PM
(#32943381)
why is this ? i have worked on kotlin in the android ecosystem. But something like kotlin with spring is no better than java right ?
you still have to deal with all the controllers, etc.
on reddit, one of the arguments was interesting - the biggest value of kotlin in backend is using var/val instead of types and making everything public (instead of getters/setters).
would that be correct ? Lombok doesnt fix this ?
Re:The Reason Java Is Still Popular
by LennyWhiteJr on Thursday September 22, 2022 @03:23PM
(#32943491)
There is sooooo much more that Kotlin offers over Lombok it's not even close.
Care to elaborate? I myself feel this way, but when i break it down I can't give good examples.
You can just use var/final var in java as well.
Re:The Reason Java Is Still Popular
by gorjusborg on Thursday September 22, 2022 @03:11PM
(#32943327)
I agree with you, but I haven't had good ling term experiences with hosted languages. I hope it works out for you.
Can you clarify? What didn't work out, which languages were involved?
Where I work now the the "Java" devs code about 80% Kotlin and 20% Java.
At my previous job we were mostly Ruby except for a service that relied on a Java library that connected to some obscure systems that no other language had a library for. Yeah, we used Java, but it was because that was our only option.