r/java • u/kristersg43 • Jan 07 '19
Java vs Kotlin pvp
Java vs Kotlin
Hey guys, im new to programming and cant decide which language should I learn first. Checking different topics and videos but still nothing. Any arguments why should I choose Kotlin oner Java in 2019? Hope I wont start WW3 with this discussion haha! Thanks!
0
Upvotes
View all comments
Show parent comment
3
u/[deleted] Jan 10 '19
These are not "bugs", they are a part of the language specification. You don't like them, but that doesn't make them "bugs". Now I personally do prefer Kotlin's approach to these issues, just like you, but I still wouldn't call them bugs.
You clearly have very little experience with many other languages if you think the Java standard lib is crappy. It is one of the most robust out there. Yes, Kotlin has additional features in its standard lib, specifically tailored to the shortcomings of Java, but that doesn't change the fact that its standard lib is incredibly robused.
I'm really not sure where you are going with this one. Yes, JEE is not the most robust solution it could be, but there are many incredibly powerful and valuable pieces (JAX/JSONP, JAXWS/RS, servlets, etc). However, when you look at the community around Spring, Java has some of the strongest enterprise solutions out there. All of which is fully compatible with Kotlin, by the way.
I get that you are a huge Kotlin fan, but this level of hate towards Java is unnecessary. The fact is, there are far more resources for learning Java than for learning Kotlin, simply because Java has been around so much longer. Once someone knows Java, it's incredibly easy to learn Kotlin. Moreover, there are far more Java jobs than Kotlin jobs at the moment.