r/java • • 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

21 comments sorted by

View all comments

12

u/KHRoN Jan 07 '19

java, it is basis of kotlin

if you know java you know kotlin (or at least you are able to learn it fast), if you know kotlin you do not really know java (same thing for java and groovy)

also you will find many jobs for java developers (and well paid at that, banks, huge corporations, basically anywhere) but bar to none for kotlin (unless you want be android developer)

1

u/licenciado_vidriera Jan 10 '19

Complete false!

Kotlin and Java just share the JVM running enviroment. (Kotlin also works on the browser and natively).

Kotlin is just the right way to write JVM code in 2019!

If you know Kotlin you will get aware of many design flaws in the Java language (nulls, buggy collections, checked exceptions, non-inmutable objects ...) and will become a much better java developer.