Kotlin In-depth [Vol-II]: A comprehensive guide to modern multi-paradigm language

· BPB Publications
4.3
3 reviews
Ebook
276
Pages
Ratings and reviews aren’t verified  Learn More

About this ebook

Master the concise and expressive power of a pragmatic multi-paradigm language for JVM, Android and beyond


DESCRIPTIONÊ

The purpose of this book is to guide a reader through the capabilities of the Kotlin language and give examples of using it for development of various applications be it desktop, mobile or Web. Although our primary focus is on the JVM and Android, the knowledge weÕre sharing here to various extents applies to other Kotlin-supported platforms such as JavaScript, native and even multi-platform applications.

The book starts with an introduction to language and its ecosystem that will give you an understanding of the key ideas behind Kotlin design, introduce you to the Kotlin tooling and present you the basic language syntax and constructs. In the next chapters weÕll get to know the multi-paradigm nature of Kotlin which allows you to create powerful abstractions by combining various aspects of functional and object-oriented programming. WeÕll talk about using common Kotlin APIs such as the standard library, reflection, and coroutine-based concurrency as well as the means for creating your own flexible APIs based on domain-specific languages. In the concluding chapters, weÕll give examples of using Kotlin for more specialized tasks such as testing, building Android applications, Web development and creating microservices.


KEY FEATURESÊÊ

- Language fundamentals

- Object-oriented and functional programming with Kotlin

- Kotlin standard library

- Building domain-specific languages

- Using Kotlin for Web development

- Kotlin for Android platform

- Coroutine-based concurrency


WHAT WILL YOU LEARNÊ

By the end of the book, youÕll obtain a thorough knowledge of all basic aspects of Kotlin programming. YouÕll be able to create a flexible and reusable code by taking advantage of object-oriented and functional features, use Kotlin standard library, compose your own domain-specific languages, write asynchronous code using Kotlin coroutines library as well. YouÕll also have a basic understanding of using Kotlin for writing test code, web applications and Android development. This knowledge will also give you a solid foundation for deeper learning of related development platforms, tools and frameworks.


WHO THIS BOOK IS FORÊ

The book is primarily aimed at developers familiar with Java and JVM and willing to get a firm understanding of Kotlin while having little to no experience in that language. Discussion of various language features will be accompanied, if deemed necessary, by comparisons with their JavaÕs analogs which should simplify Java-to-Kotlin transition. Most of the material, however, is rather Java-agnostic and should be beneficial even without prior Java knowledge. In general, experience in object-oriented or functional paradigm is a plus, but not required.


Table of Contents

10. Annotations and Reflection

11. Domain-Specific Languages

12.Ê Java Interoperability

13. Concurrency

14.Ê Testing with Kotlin

15.Ê Android Applications

16.Ê Web Development with Ktor

17.Ê Building Microservices

Ratings and reviews

4.3
3 reviews

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.