Nicht aus der Schweiz? Besuchen Sie lehmanns.de
Kotlin Standard Library Cookbook - Samuel Urbanowicz

Kotlin Standard Library Cookbook

Master the powerful Kotlin standard library through practical code examples
Buch | Softcover
242 Seiten
2018
Packt Publishing Limited (Verlag)
978-1-78883-766-8 (ISBN)
CHF 54,10 inkl. MwSt
  • Keine Verlagsinformationen verfügbar
  • Artikel merken
This book explores the valuable standard libraries, showing you how to use them to write succinct code. Filled with short and easy-to -follow solutions, you’ll see how to get optimal performance from your Kotlin code.
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 the powerful support for data processing and I/O operations
Discover ways to enhance your Android application development

Book DescriptionGiven 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.

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 making your 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. It’s also ideal for experienced software developers who are familiar with the functional programming paradigm and other programming languages who want to switch to Kotlin. It will also help Java developers switch to Kotlin and integrate it into existing Java Virtual Machine (JVM) projects.

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.

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

Erscheinungsdatum
Verlagsort Birmingham
Sprache englisch
Maße 75 x 93 mm
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Informatik Software Entwicklung Objektorientierung
Mathematik / Informatik Informatik Web / Internet
ISBN-10 1-78883-766-5 / 1788837665
ISBN-13 978-1-78883-766-8 / 9781788837668
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
objektorientierte Entwicklung modularer Maschinen für die digitale …

von Thomas Schmertosch; Markus Krabbes; Christian Zinke-Wehlmann

Buch | Hardcover (2024)
Hanser (Verlag)
CHF 62,95
Entwicklung von GUIs für verschiedene Betriebssysteme

von Achim Lingott

Buch (2023)
Hanser, Carl (Verlag)
CHF 55,95
Principles and Practice Using C++

von Bjarne Stroustrup

Buch | Softcover (2024)
Addison Wesley (Verlag)
CHF 119,95