Kotlin In-Depth [Vol-I]: A Comprehensive Guide to Modern Multi-Paradigm Language

· BPB Publications
3.8
5 reviews
Ebook
324
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 Kotlin language and give examples of how to use it for the development of various applications, be it desktop, mobile or Web. Although our primary focus is on 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 the language and its ecosystem, which will give you an understanding of the key ideas behind the Kotlin design, introduce you to the Kotlin tooling and present you the basic language syntax and constructs. In the next chapters, we get to know the multi-paradigm nature of Kotlin which allows us 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 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 the 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 IS THIS BOOK FORÊ

The book is primarily aimed at developers who are familiar with Java and JVM and are 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 the Java-to-Kotlin transition. Most of the material, however, is rather Java-agnostic and should be beneficial even without prior knowledge of Java. In general, experience in object-oriented or functional paradigm is a plus, but not required.

Ê

Table of Contents

1. Ê Ê Kotlin: Powerful and Pragmatic

2. Language Fundamentals

3. Defining Functions

4. Working with Classes and Objects

5. Leveraging Advanced Functions and Functional Programming

6. Using Special-Case Classes

7. Understanding Class Hierarchies

8. Exploring Collections and I/O

9. Generics

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

3.8
5 reviews
ruslanjava
June 19, 2020
Very capacious and relevant content, but there is one annoying drawback - the vol I successfully opens in the Web-browser, but does not open in the Android version of Google Books
Did you find this helpful?
Murari M
June 3, 2020
I have bought the book. Volume 1 does not open in my android device and i paid for it. Tried all the options but still does not open.
1 person found this review helpful
Did you find this helpful?
Agna Ilmi
September 23, 2020
nice book for learning kotlin
Did you find this helpful?

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.