Kotlin In-depth [Vol-II]

Kotlin In-depth [Vol-II]

A comprehensive guide to modern multi-paradigm language

person icon Aleksei Sedunov

ebook icon BPB Publications

language icon Language - English

updated on icon Updated on Jan, 2021

architecture icon Development,Mobile Apps,Kotlin


This eBook includes

Formats : EPUB, PDF (Downlodable)

Pages : 276

ISBN : 9789389423228

Language : English

About the Book

Book description

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

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


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.

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

1. Annotations and Reflection
2. Domain-Specific Languages
3. Java Interoperability
4. Concurrency
5. Testing with Kotlin
6. Android Applications
7. Web Development with Ktor
8. Building Microservices

Kotlin In-depth [Vol-II]

eBook Preview

Author Details

BPB Publications

BPB Publications

BPB is Asia's largest publishers of Computer & IT books. For the last 63 years BPB has been a friend, philosopher and guide for programmers, developers, hardware technicians, IT Professionals who have made things happen in the IT World.

Our students work
with the Best

Related eBooks

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
People having fun around a laptop

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
People having fun around a laptop

Talk to us