Автор: Alexander Aronowitz
Издательство: NLN lnc
Год: 2020
Страниц: 291
Язык: английский
Формат: pdf, azw3, epub
Размер: 10.1 MB
Kotlin has already been adopted by some big companies—including Uber, Netflix, Pinterest, and Square—as their primary language for developing Android apps. And in May of 2017, Google announced Kotlin was now a “first-class language” for writing Android apps, subsequently conducting all of its developers’ conferences in it. The message is clear.
Why Kotlin? To appreciate the attractiveness of Kotlin, you should first figure out which Java occupies a place in the modern world of software development. The Kotlin code is runs under the Java Virtual Machine, so the two languages are closely interrelated. Java is the most trusted and reliable language used for developing industrial applications for many years. But the language Java was created back in 1995, and since that time, the criteria for evaluating good programming languages have changed. Java lacks many of the conveniences it has in languages used by developers now. Kotlin creators have checked out lessons from design decisions made when designing Java (and other languages such as Scala) and have lost their relevance. Its development went beyond the limits of the capabilities of old languages and it has been corrected a lot that caused a lot of inconvenience. Learn how Kotlin is better than Java in this book.
What you will learn:
Run a Kotlin application and understand the integration with Android Studio
Incorporate Kotlin into new/existing Android Java based project
Learn about Kotlin type system to deal with null safety and immutability
Define various types of classes and deal with properties
Define collections and transform them in functional way
Define extensions, new behaviours to existing libraries and Android framework classes
Use generic type variance modifiers to define subtyping relationship between generic types
Build a sample application
Model data using interfaces, classes, and data classes
Grapple with practical interoperability challenges and solutions with Java
Build parallel apps using concurrency solutions such as coroutines
Explore functional, reactive, and imperative programming to build flexible apps
Discover how to build your own domain-specific language
Embrace functional programming using the standard library and Arrow
Delve into the use of Kotlin for frontend jаvascript development
Build server-side services using Kotlin and Ktor
Скачать Programming Kotlin: Enhance your skills for Android development using Kotlin