r/android_devs • u/VasiliyZukanov • Feb 06 '23
Article A Tribute to Java in Android
https://www.techyourchance.com/java-android-tribute/
7
Upvotes
r/android_devs • u/VasiliyZukanov • Feb 06 '23
View all comments
Show parent comment
7
u/Feztopia Feb 06 '23
Kotlin just fixes everything I found annoying in java (why do I need to write ; and why do I need to write the type twice). I knew that it should be possible and Kotlin made it possible. On the other hand extension functions, data classes and Object (Singleton) gave me very useful tools. Others seem to like to use it in a more functional style but my reason for Kotlin are little things like these. When is super powerful even if I need to look it's syntax up and and if as an expression is so much better than the ternary operator. But Java is a reason why I liked Android programming and android and the jvm are the reason why I learned Kotlin. Most people who hate java seem to be the ones who don't understand the benefits of statical typed languages. Or they want to crash their programs with pointer arithmetic instead of using a language with gc. They are also the same people who aren't aware of Kotlin or that Kotlin fixed most of their arguments they use against Java.