![]() ![]() For this, there are few aspects it focuses on: a) Mutable reference/Immutable reference: The less we change the value of a variable the robust our code would be. Kotlin makes sure that our development is robust. Most of the time we are in the process of creating one or finding one. Prevent us from making a mistake: Bugs are part of a developers life.Kotlin provides features such as named arguments, properties, Data classes, ranges, infix call, local functions, conventions, delegated properties, higher order functions, lambdas, extension functions etc. ![]() Provide us features which make the coding efficient: int abc = 1, here as a developer we can see that an integer of value 1 is assigned to abc then why can’t the compiler? Why do we have to tell the compiler that the type of abc is int when it’s so obvious? Kotlin does that for us using type inference val abc = 1, saving the verbosity when it’s not required.What do we mean by smart language? and I thought it’s just the developer who needs to be smart.Ī smart language comprises two attributes: One of the biggest argument in favor of Kotlin, it’s a smart language. This brought the focus of Android developers all over the world to Kotlin. In I/O 17 Google announced official support to Kotlin for Android app development. I am sold, sold, sold! but please tell me what’s the catch? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |