https://kotlinlang.org logo
#android
Title
# android
e

edwardwongtl

11/21/2017, 10:11 AM
If you can get the job done using Java, there is really no reason to force a switch. We switched because the features really helps us as a developer to save time and effort
n

nitinmesta

11/21/2017, 10:16 AM
Which all features helped you , can you please mention, so that I can apply same while coding
e

edwardwongtl

11/21/2017, 10:17 AM
sealed class for example helps you to ensure you've covered all cases when using a switch statement
n

nitinmesta

11/21/2017, 10:17 AM
I need to look into it
?
how about coroutines
?
e

edwardwongtl

11/21/2017, 10:17 AM
by lazy{...}
for the lazy initialisation that is quite hard to do in Java
Personally I haven't use coroutines, but I see some people switching from Rx to coroutine
There is many more feature that helps developer to ease their life, take a look on their official page and see if those feature can come in handy for you.
n

nitinmesta

11/21/2017, 10:20 AM
thanks Edward for your suggestion and time. This will help me