DEV Community

Discussion on: Kotlin is so nice – it prevents bugs πŸ› before you add them…

Collapse
 
ubarua123 profile image
Udayaditya Barua

I kinda agree. I too resisted the switch to kotlin at first but I had to being an Android developer. And now I love it. The main thing is, this language makes me think harder, especially the null safety. Because it immediately tells me, I am forced to make changes to all the places right to the source, fixing where I can receive null where I should not. So now, my app is far more stable. In cases where sometimes backend fails to give the result, my app is able to handle it beautifully because of kotlin. Some of the bugs you mentioned, I have made countless of them in my entire Java development career.