Learn Kotlin Programming - Stephen Samuel, Stefan Bocutiu

Learn Kotlin Programming

A comprehensive guide to OOP, functions, concurrency, and coroutines in Kotlin 1.3, 2nd Edition
Buch | Softcover
514 Seiten
2019 | 2nd Revised edition
Packt Publishing Limited (Verlag)
978-1-78980-235-1 (ISBN)
34,90 inkl. MwSt
The aim of the book is to teach you the fundamentals of the Kotlin language. This book will be an update based on the latest major version of Kotlin 1.3. This book provides a detailed introduction to Kotlin that shows you all its features and will enable you to write Kotlin code to production.
Delve into the world of Kotlin and learn to build powerful Android and web applications

Key Features

Learn the fundamentals of Kotlin to write high-quality code
Test and debug your applications with the different unit testing frameworks in Kotlin
Explore Kotlin's interesting features such as null safety, reflection, and annotations

Book DescriptionKotlin is a general-purpose programming language used for developing cross-platform applications. Complete with a comprehensive introduction and projects covering the full set of Kotlin programming features, this book will take you through the fundamentals of Kotlin and get you up to speed in no time.

Learn Kotlin Programming covers the installation, tools, and how to write basic programs in Kotlin. You'll learn how to implement object-oriented programming in Kotlin and easily reuse your program or parts of it. The book explains DSL construction, serialization, null safety aspects, and type parameterization to help you build robust apps. You'll learn how to destructure expressions and write your own. You'll then get to grips with building scalable apps by exploring advanced topics such as testing, concurrency, microservices, coroutines, and Kotlin DSL builders. Furthermore, you'll be introduced to the kotlinx.serialization framework, which is used to persist objects in JSON, Protobuf, and other formats.

By the end of this book, you'll be well versed with all the new features in Kotlin and will be able to build robust applications skillfully.

What you will learn

Explore the latest Kotlin features in order to write structured and readable object-oriented code
Get to grips with using lambdas and higher-order functions
Write unit tests and integrate Kotlin with Java code
Create real-world apps in Kotlin in the microservices style
Use Kotlin extensions with the Java collections library
Uncover destructuring expressions and find out how to write your own
Understand how Java-nullable code can be integrated with Kotlin features

Who this book is forIf you’re a beginner or intermediate programmer who wants to learn Kotlin to build applications, this book is for you. You’ll also find this book useful if you’re a Java developer interested in switching to Kotlin.

Stephen Samuel is an accomplished developer with over 17 years of experience. He has worked with Java throughout his career, and in the past 5 years has focused on Scala. He has a passion for concurrency and Big Data technologies. Having spent the last few years in investment banking, he is currently working with Kotlin on a major Big Data investment project. Stephen is also active in the open source community, being the author of several high profile Scala and Kotlin libraries. Stefan Bocutiu is a Big Data consultant with over 13 years of experience in software development. He enjoys coding in Scala, C#, and has a passion for stream processing technologies. With the team at DataMountaineer-he focuses on providing scalable, unified, real-time data pipelines allowing reactive decision making, analytics, and Hadoop integration. Stefan is passionate about motorsports, and while his racing skills are not good enough to allow him to compete, he tries to attend as many MotoGP races as possible. When he is not coding, he can be found at the climbing wall or at the gym. Occasionally, hiking and scrambling trips are on his calendar, and during the winter season, skiing trips are a must for him.

Table of Contents

Getting Started with Kotlin
Kotlin Basics
Object-Oriented Programming in Kotlin
Functions in Kotlin
Higher-Order Functions and Functional Programming
Properties
Null safety, Reflection, and Annotations
Generics
Data Classes
Collections
Testing in Kotlin
Microservices with Kotlin
Concurrency
Coroutines
Application of Coroutines
Kotlin Serialization

Erscheinungsdatum
Verlagsort Birmingham
Sprache englisch
Maße 75 x 93 mm
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Informatik Software Entwicklung Mobile- / App-Entwicklung
ISBN-10 1-78980-235-0 / 1789802350
ISBN-13 978-1-78980-235-1 / 9781789802351
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Das umfassende Handbuch

von Jürgen Sieben

Buch | Hardcover (2023)
Rheinwerk (Verlag)
89,90
Das große Handbuch zum JavaScript-Framework

von Christoph Höller

Buch | Hardcover (2022)
Rheinwerk (Verlag)
39,90