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

leosan

11/21/2017, 10:12 AM
Sure I had the same doubts initially, but I confess I switched most because of hype and because I found very pleasant to writing Kotlin code 🙈
n

nitinmesta

11/21/2017, 10:16 AM
Even I love writing it in Kotlin. But I get questions like is it helping in performance of the app written ?
that bothers me . But now I am clear
l

leosan

11/21/2017, 10:20 AM
I think it helped not because of the programming language per se, but because I started to care more about writing better code.
n

nitinmesta

11/21/2017, 10:21 AM
Ok . Thank you
thanks for you time and suggestion
It will help me for sure
l

leosan

11/21/2017, 10:21 AM
no problem at all, any question just ask
n

nitinmesta

11/21/2017, 10:24 AM
Any idea about coroutines ?
l

leosan

11/21/2017, 10:24 AM
especially about coroutines
n

nitinmesta

11/21/2017, 10:24 AM
I am not able to understand on it
l

leosan

11/21/2017, 10:24 AM
for instance I found that writing IO operations in parallel with coroutines made my IO operations much faster
I could have done this with threads and java, but writing the same thing is just much easier and clean and fluid
n

nitinmesta

11/21/2017, 10:25 AM
I need to learn it
but not able to understand the concept. May be i should give it a try with some examples
l

leosan

11/21/2017, 10:26 AM
the coroutines guides are very well detailed and I recommend. I still don't fully understand most of the features it but only with the basics I was able to improve this operation converting/writing images into the disk
n

nitinmesta

11/21/2017, 10:28 AM
Thanks @leosan
l

leosan

11/21/2017, 10:30 AM
and I think I would definitely have much more trouble to understand parallelism in Java and doing this with threads. But this is just my personal feedback
n

nitinmesta

11/21/2017, 10:31 AM
ok