Switch to the store?

Kotlin Standard Library Cookbook

More Information
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 making your Android projects
  • Explore the benefits of standard library features
About

Given the verbosity of Java, developers have turned to Kotlin for effective software development. The Kotlin standard library provides vital tools that make day-to-day Kotlin programming easier. This library features the core attributes of the language, such as algorithmic problems, design patterns, data processing, and working with files and data streams
The recipes in this book offer coding solutions that can be readily executed. The book covers various topics related to data processing, I/O operations, and collections transformation. We'll walk through effective design patterns in Kotlin and you'll understand how coroutines add new features to JavaScript.

As you make your way through the chapters, you'll learn how to implement clean, reusable functions and scalable interfaces containing default implementations. In the concluding chapters, we'll provide recipes on functional programming concepts, such as lambdas, monads, functors, and Kotlin scoping functions.

By the end of the book, you'll be able to address a range of problems that Kotlin developers face by implementing easy-to-follow solutions.

Features
  • Get the most out of the Kotlin library to develop high-quality portable applications
  • Explore the powerful support for data processing and I/O operations 
  • Discover ways to enhance your Android application development
Page Count 242
Course Length 7 hours 15 minutes
ISBN9781788837668
Date Of Publication 29 Jul 2018
Introduction
Working effectively with lambda expressions
Discovering basic scoping functions – let, also, apply
Initializing objects the clean way using the run scoping function
Working with higher-order functions
Functions currying 
Function composition
Implementing the Either Monad design pattern
Approach to automatic functions memoization 

Authors

Samuel Urbanowicz

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.