posted 5 years ago
Hello :-)
It's a general purpose language, like Java or C++. The reason (initially) was to create a more modern language that could be used in the same way that Java could be used. That was one reason why Google chose it for Android development. Kotlin can be compiled down to the same byte codes as Java, and so can be run on Android devices, without needing to create a whole new tool chain. However, it can also be used to create more expressive server-side code that Java, and also it became clear that because it is a general language, it would also be possible to transpire it into languages like JavaScript which will allow it to run inside node and inside browsers. More recently, Kotlin native allows it to be used on devices that have neither Java nor JavaScript.
Why should you learn it? Simply because it will *probably* integrate with your existing projects, and it will give you access to features like co-routines and more advanced generics.
Thanks for the great question!
D+D
Head First Android Development
https://dogriffiths.github.io/HeadFirstAndroid/#/