top | item 32943267

(no title)

LennyWhiteJr | 3 years ago

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.

discuss

order

sandGorgon|3 years ago

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 ?

LennyWhiteJr|3 years ago

There is sooooo much more that Kotlin offers over Lombok it's not even close.

kaba0|3 years ago

You can just use var/final var in java as well.

gorjusborg|3 years ago

I agree with you, but I haven't had good ling term experiences with hosted languages. I hope it works out for you.

Kwpolska|3 years ago

Can you clarify? What didn't work out, which languages were involved?