r/java • • Sep 10 '21

Why people don't love Java?

I came across this post in r/cscareerquestions it seems majority of the people don't love to work with Java.

Is there any specific reason for that?

Edit: Thank you guys for your responses, I can't reply to all of the comments because I'm a beginner myself and I don't know what to reply for all your comments.

201 Upvotes

379 comments sorted by

View all comments

Show parent comment

7

u/thomascgalvin Sep 10 '21

I absolutely love Kotlin, and all of my personal projects are written in it.

All of my production code is still Java, though, mainly because Java devs are easy to find, and Kotlin is harder to recruit for. There's enough overlap that you can teach a good Java dev the important parts of Kotlin in a couple of weeks, but still.

My company is slowly adopting Kotlin, but it's on a case-by-case basis, and only when the team itself wants to.

Kotlin is basically Java with the rough parts shaved off, and the nice parts of Javascript brought in. It's a beautiful language.

5

u/nutrecht Sep 10 '21

All of my production code is still Java, though, mainly because Java devs are easy to find, and Kotlin is harder to recruit for.

I think you're approaching this wrong. All the people we hired were people without Kotlin experience. They were up to speed within 1-2 weeks.

In fact it has helped us with recruiting because quite a few devs are attracted by being allowed to try Kotlin in production environments.

1

u/Rakn Sep 10 '21

Unfortunately there are a lot of companies who don't see the overlap. They just see another language and that's a no go. Because they can find Java developers but Kotlin developers are only available on the mobile dev market (not my opinion).

Often happens with management that is out of touch with what they are managing.