r/androiddev • • Sep 16 '18

Why does Android development feel like hell?

[deleted] — view deleted post

209 Upvotes

174 comments sorted by

View all comments

Show parent comment

1

u/OrganicNectarine Sep 19 '18

The switch statement doesn't work with any object thoug let alone expressions (wich do work on kotlins "when"). It just accepts basic types, String and Enum - at least in the version available on Android. I used java on android for many years privately (and on github) and since kotlin came out I have never looked back. It's pretty amazing that Kotlin is bytecode compatible with the old jvm used in android and yet has so many advanced features. I freakin love it!

1

u/PurpleIcy Sep 20 '18

String is an object in most programming languages as far as I am concerned...