Kotlin In-Depth: A Guide to a Multipurpose Programming Language for Server-Side, Front-End, Android, and Multiplatform Mobile (English Edition)

· BPB Publications
Ebook
688
Pages
Ratings and reviews aren’t verified  Learn More

About this ebook

It's easy to learn, so you can start making powerful apps right away.

 

KEY FEATURES  

● Numerous code samples covering all aspects of the Kotlin language.

● Coverage on native applications, web apps, microservices, and app testing.

● Step-by-step instructions are provided in a clear and concise manner.


DESCRIPTION 

The book ‘Kotlin In-Depth, Second Edition’ updates all the essential parts of Kotlin and incorporates modern principles, methodologies, and approaches for achieving efficient solutions. The book will guide you to successfully utilize Kotlin in developing JVM apps for desktop, mobile, web platforms and transferring existing Java codebases to Kotlin.


The book begins with an introduction to the language and its environment, which will help you to grasp the fundamental concepts underlying Kotlin's design. The readers will learn the Kotlin tooling and the language's core syntax and structures. The book teaches Kotlin's multi-paradigm nature, which enables the creation of powerful abstractions by mixing parts of functional and object-oriented programming. This book discusses how to use standard Kotlin APIs like the standard library, reflection, and coroutine-based concurrency, as well as how to create your flexible APIs using domain-specific languages. The book demonstrates how to use Kotlin for more specific tasks such as testing, developing Android applications, developing Web applications, and developing microservices.


After reading this book, you'll be prepared to dive deeper into the Kotlin ecosystem's more specialized areas, including Android applications, server-side development, native programming, and code sharing across different platforms.


WHAT YOU WILL LEARN

● Acquire a deep understanding of all fundamental features of Kotlin programming.

● Utilize object-oriented and functional capabilities to create a flexible and reusable codebase.

● Leverage the Kotlin standard library to create custom domain-specific languages.

● Implement the Kotlin coroutines package to write asynchronous programming.

● A solid foundation of relevant development platforms, tools, and frameworks.


WHO THIS BOOK IS FOR

The book is primarily geared towards Java and JVM developers who want to learn Kotlin and explore modern and efficient development techniques. Knowing the basics of programming is helpful but not necessary.

 

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. Exploring Collections and I/O

8. Understanding Class Hierarchies

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



About the author

Aleksei Sedunov has been working as a Java developer since 2008. After joining JetBrains in 2012, he’s been actively participating in the Kotlin language development focusing on IDE tooling for the IntelliJ platform. Currently, he’s working in a DataGrip team, a JetBrains Database IDE, carrying on with using Kotlin as the main development tool.

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.