DEV Community

Why Kotlin may be better than Java and Python as the first programming language?

dzh on August 22, 2019

On the 3rd Day of the 3rd Trivago Camp at about 3 PM I had a small discussion with one of our mentors Matthias Endler about the programming languag...
Collapse
 
trackrunner profile image
Laszlo Toth

When first time ever I saw Java code at university, I felt it's so complicated, so much to learn and I hesitate how I am going to learn this. I was ok with it because many of my classmate felt the same and we went through this. together.

Probably Java is not the easiest way to write a "Hello World" or other basic code, test it and understand it but definitely a good point to learn and understand Object Oriented programming.

I wonder what is the difference between these 3 programming languages in practice.

I started to learn Android development with Java because I had a little experience with it years ago. I hesitate by now it would be better if I switch to Kotlin, but because so many fundamental lessons left from my course, I will keep going in Java and maybe I will try Kotlin as soon as I created some apps for practice.

Collapse
 
tobiassn profile image
Tobias SN • Edited

You never went into depth about why Kotlin would be better than Python.

Collapse
 
fronkan profile image
Fredrik Sjöstrand

I graduated last year and our first programming course actually was in Python.

Collapse
 
avxkim profile image
Alexander Kim

Have you tried Kotlin to write backend apps?

Collapse
 
paulod79 profile image
Paul O'Donoghue

I have. You can use it wherever you use Java. I've been using it to write new code for existing Spring projects (and other frameworks best forgotten) and new projects as well.