
Kotlin Standard Library Cookbook
Master the powerful Kotlin standard library through practical code examples
Samuel Urbanowicz(Author)
Packt Publishing
Published on 27. July 2018
Book
Paperback/Softback
242 pages
978-1-78883-766-8 (ISBN)
Description
Build optimized applications in Kotlin by learning how to make use of the standard library features the smart way
Key Features
Get the most out of the Kotlin library to develop high-quality portable applications
Explore Kotlin's powerful support for data processing and I/O operations
Discover ways to enhance your Android application development
Book DescriptionFor developers who prefer a more simplistic approach to coding, Kotlin has emerged as a valuable solution for effective software development. The Kotlin standard library provides vital tools that make day-to-day Kotlin programming easier. This library features core attributes of the language, such as algorithmic problems, design patterns, data processing, and working with files and data streams.
With a recipe-based approach, this book features coding solutions that you can readily execute. Through the book, you'll encounter a variety of interesting topics related to data processing, I/O operations, and collections transformation. You'll get started by exploring the most effective design patterns in Kotlin and understand how coroutines add new features to JavaScript. As you progress, you'll learn how to implement clean, reusable functions and scalable interfaces containing default implementations. Toward the concluding chapters, you'll discover recipes on functional programming concepts, such as lambdas, monads, functors, and Kotlin scoping functions, which will help you tackle a range of real-life coding problems.
By the end of this book, you'll be equipped with the expertise you need to address a range of challenges that Kotlin developers face by implementing easy-to-follow solutions.What you will learn
Work with ranges, progressions, and sequences in use cases
Add new functionalities to current classes with Kotlin extensions
Understand elements such as lambdas, closures, and monads
Build a REST API consumer with Retrofit and a coroutine adapter
Discover useful tips and solutions for creating Android projects
Explore the benefits of standard library features
Who this book is forThis book is for software developers who are familiar with Kotlin's basics and want to discover more advanced features and concepts, especially those provided by the Kotlin standard library. Experienced software developers familiar with the functional programming paradigm and other programming languages who want to switch to Kotlin will also find this book useful. It will also help Java developers looking to switch to Kotlin and integrate it into existing Java Virtual Machine (JVM) projects.
Key Features
Get the most out of the Kotlin library to develop high-quality portable applications
Explore Kotlin's powerful support for data processing and I/O operations
Discover ways to enhance your Android application development
Book DescriptionFor developers who prefer a more simplistic approach to coding, Kotlin has emerged as a valuable solution for effective software development. The Kotlin standard library provides vital tools that make day-to-day Kotlin programming easier. This library features core attributes of the language, such as algorithmic problems, design patterns, data processing, and working with files and data streams.
With a recipe-based approach, this book features coding solutions that you can readily execute. Through the book, you'll encounter a variety of interesting topics related to data processing, I/O operations, and collections transformation. You'll get started by exploring the most effective design patterns in Kotlin and understand how coroutines add new features to JavaScript. As you progress, you'll learn how to implement clean, reusable functions and scalable interfaces containing default implementations. Toward the concluding chapters, you'll discover recipes on functional programming concepts, such as lambdas, monads, functors, and Kotlin scoping functions, which will help you tackle a range of real-life coding problems.
By the end of this book, you'll be equipped with the expertise you need to address a range of challenges that Kotlin developers face by implementing easy-to-follow solutions.What you will learn
Work with ranges, progressions, and sequences in use cases
Add new functionalities to current classes with Kotlin extensions
Understand elements such as lambdas, closures, and monads
Build a REST API consumer with Retrofit and a coroutine adapter
Discover useful tips and solutions for creating Android projects
Explore the benefits of standard library features
Who this book is forThis book is for software developers who are familiar with Kotlin's basics and want to discover more advanced features and concepts, especially those provided by the Kotlin standard library. Experienced software developers familiar with the functional programming paradigm and other programming languages who want to switch to Kotlin will also find this book useful. It will also help Java developers looking to switch to Kotlin and integrate it into existing Java Virtual Machine (JVM) projects.
More details
Language
English
Place of publication
Birmingham
United Kingdom
Target group
Professional and scholarly
US School Grade: College Graduate Student
Dimensions
Height: 235 mm
Width: 191 mm
Thickness: 14 mm
Weight
460 gr
ISBN-13
978-1-78883-766-8 (9781788837668)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Classification
Other editions
Additional editions

Samuel Urbanowicz
Kotlin Standard Library Cookbook
Master the powerful Kotlin standard library through practical code examples
E-Book
09/2024
Packt Publishing
€31.49
Available for download
Person
Samuel Urbanowicz is an experienced software engineer skilled in mobile applications and backend development. A fan of modern programming languages, he has been using Kotlin since its beginning. He's always curious to dive into technologies. He is especially passionate about machine learning. Samuel believes that the Kotlin language has great potential for multiplatform development. He has work experience in both big corps and small start-ups. He is an active contributor to open source projects.
Content
Table of Contents
Charm of ranges, progressions and sequences
Designing expressive functions and adjustable interfaces
Shaping code with Kotlin functional programming features
Powerful data processing
Tasteful design patterns based on Kotlin built-in concepts
Friendly I/O operations
Making Asynchronous programming great again
Unit tests with JUnit and Kotlin Mockito
Miscellaneous
Charm of ranges, progressions and sequences
Designing expressive functions and adjustable interfaces
Shaping code with Kotlin functional programming features
Powerful data processing
Tasteful design patterns based on Kotlin built-in concepts
Friendly I/O operations
Making Asynchronous programming great again
Unit tests with JUnit and Kotlin Mockito
Miscellaneous