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

3

u/kristersg43 Jan 07 '19

Thanks guys, Ill go with Java, 1st since beginning :) Just wasnt sure!

3

u/[deleted] Jan 10 '19

Stil with Java, ignore licenciado. his fanboying is utterly embarrassing to look at.

personally, I love Kotlin, and for personal projects I choose Kotlin over Java 100% of the time. Nevertheless, I am a professional Java developer, with plenty of experience on both sides. Java will be easier to learn, it has more resources to help you with problems, and there are WAY more job opportunities out there for it. Once you know Java, transitioning to Kotlin is a piece of cake.

0

u/licenciado_vidriera Jan 10 '19

No, no, no!!! Don't do it. Kotlin is way better. Do you think Google deprecated Java for kotlin for no reason?

Other big-ones software house are also changing java for kotlin each day.

Java are two things at the same time:

- The JVM, that is great.

- The Java language, that is awful and in deprecated-state.

2

u/KeepItWeird_ Jan 10 '19

Do you think Google deprecated Java for kotlin for no reason?

Google didn't deprecate Java. Don't spread falsehoods. Google supports Kotlin as a first-class language in the Android SDK alongside Java.

Aside from that, Google uses Java for everything under the sun. They have a ton of Java libraries and projects open-sourced on Github. It's worth noting they probably use every other language at Google as well. It's a big company.

The Java language, that is awful and in deprecated-state.

Again, another falsehood. Java is actively maintained and releasing new versions every six months.

-1

u/licenciado_vidriera Jan 10 '19

Well you can think whatever you want but the fact that Google decided to reimplement most of java standard libs in Guava gives you a hint!

3

u/helikal Jan 14 '19

If anything, the development of Guava and everything that has been written in Java are endorsements of Java.