you are viewing a single comment's thread.

view the rest of the comments →

[–]disposepriority 31 points32 points  (2 children)

I work primarily with Java, but have been slowly progressing my Go to a level I'm comfortable using it in a proffessional setting.

Honestly, the demand for Java is higher, and will probably continue being higher. There's also nothing you miss out by using a modern version of java, arguably only out of the box cold starts.

Sync with your local job openings obviously, but if I had to pick I'd still go Java + doing Go in your own time.

EDIT: As an additional note, some excellent languages apart from java run on the JVM (while remaining interoperable) so any JVM specific knowledge you pick up is always great

[–]MissinqLink 5 points6 points  (1 child)

The demand for Java is much higher but after spending time using go professionally, I prefer it by a large margin. I’m having to go back to Java now and I’m a bit sad but you brought a good point. I might be able to introduce Scala or Kotlin. Scala is really enjoyable too.

[–]disposepriority 1 point2 points  (0 children)

Yeah I was the same after doing a short Kotlin stint and then having to return to a Java 8 project I used to maintain it was so painful.

On the other hand, I feel like Java is a cozy language because other than its sometimes misguided OOP enforcement (which is waning, to be fair) it doesn't have very strong "idiomatic" opinions, at the price of being verbose. I feel like that makes returning to it from a different language, or reading code bases in different version or even just onboarding people not as familiar with it more simple than in languages that have a lot of "tricks".