Автор: Sufyan bin Uzayr
Издательство: CRC Press
Год: 2023
Формат: True PDF
Страниц: 335
Размер: 10 Mb
Язык: English
Mastering Kotlin helps readers quickly understand core concepts and then move on to practical projects using the Kotlin programming language.
Back in the day, Java was the de facto choice for creating Android apps. However, since Google announced Kotlin as the new language of choice for building Android applications, developers haven’t looked back.
Kotlin is a general purpose, statically typed, open source programming language that runs on Java Virtual Machines. It can be called a Java replacement; however, the Kotlin syntax isn’t blindly identical to that of Java. Sure, Kotlin can work with Java, and owing to its intuitiveness, it can also enhance overall productivity and efficiency, but it is not a Java clone.
Kotlin differs from Java in that it has assertive interfaces that help determine variable and expression classes, even if they’re not defined. Kotlin is a beautiful alternative for modifying and identifying faults because it has a familiar and straightforward syntax and programming structure. It comes with a sophisticated compiler that can track automatic casts, allowing verification durations to be more efficient. Kotlin also has simple signals that may be interpreted without any need for set parameters. And Kotlin is easy to set up: all you need is a Kotlin component for Android Studio.