Publisher's Synopsis
Unless you've been living on Mars (lucky you!) cut off from all forms of communication, you've heard of a new programming language, named Kotlin, that is considered the heir apparent to Java.Developed and perfected over a five-year period by JetBrains (the company behind IntelliJ IDEA), Kotlin has taken the Java development community by storm. The new language is described as "concise," "safe," and "100% interoperable" with Java, and it runs on the Java Virtual Machine (JVM).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. So, what's keeping you from checking out Kotlin for yourself and seeing what it can do? 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 JavaScript development
- Build server-side services using Kotlin and Ktor