- Kotlin Standard Library Cookbook : Master the powerful Kotlin standard library through practical code examples
- Saved searches
- Use saved searches to filter your results more quickly
- License
- PacktPublishing/Kotlin-Standard-Library-Cookbook
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- About
- Kotlin Standard Library Cookbook
- Kotlin Standard Library Cookbook: Master the powerful Kotlin standard library through practical code examples
Kotlin Standard Library Cookbook : Master the powerful Kotlin standard library through practical code examples
Key FeaturesGet the most out of the Kotlin library to develop high-quality portable applicationsExplore the powerful support for data processing and I/O operationsDiscover ways to enhance your Android application developmentBook Description
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.
What you will learnWork with ranges, progressions, and sequences in use casesAdd new functionalities to current classes with Kotlin extensionsUnderstand elements such as lambdas, closures, and monadsBuild a REST API consumer with Retrofit and a coroutine adapterDiscover useful tips and solutions for making your Android projectsExplore the benefits of standard library featuresWho this book is for
This 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.
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Kotlin Standard Library Cookbook, published by Packt
License
PacktPublishing/Kotlin-Standard-Library-Cookbook
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
Kotlin Standard Library Cookbook
This is the code repository for Kotlin Standard Library Cookbook, published by Packt.
Build optimized applications in Kotlin by learning how to smartly implement standard libraries
Given the verbosity of Java, developers have turned to Kotlin for effective software development. Apart from being a modern programming language, 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.
This book covers the following exciting features: 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 Coroutines adapter Discover useful tips and solutions to make your Android projects Explore the benefits of the standard library features
If you feel this book is for you, get your copy today!
Instructions and Navigations
Almost all recipes are present in the Kotlin-Samples directory, however, the separate projects that are created target JS and Android. Inside the Kotlin-Samples directory there is the content of the main project with pure Kotlin samples.
The code will look like the following:
val daysOfYear: IntRange = 1..365 for(day in daysOfYear.reversed())
Following is what you need for this book: This 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.
With the following software and hardware list you can run all code files present in the book (Chapter 1-9).
Software and Hardware List
Chapter | Software required | OS required |
---|---|---|
1 — 7 | JetBrains IntelliJ Idea | Windows, Mac OS X, and Linux (Any) |
8 | JetBrains IntelliJ Idea + Google Android Studio | Windows, Mac OS X, and Linux (Any) |
9 | JetBrains IntelliJ Idea | Windows, Mac OS X, and Linux (Any) |
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.
Click here if you have any feedback or suggestions.
If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.
About
Kotlin Standard Library Cookbook, published by Packt
Kotlin Standard Library Cookbook
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.
- 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
This 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.
- Ranges, Progressions, and Sequences
- Expressive Functions and Adjustable Interfaces
- Shaping Code with Kotlin Functional Programming Features
- Powerful Data Processing
- Tasteful Design Patterns Adopting Kotlin concepts
- Friendly I/O Operations
- Making Asynchronous Programming Great Again
- Best Practices for the Android, JUnit, and JVM UI Frameworks
- Miscellaneous
Kotlin Standard Library Cookbook: Master the powerful Kotlin standard library through practical code examples
Kotlin Standard Library Cookbook: Master the powerful Kotlin standard library through practical code examples
Build optimized applications in Kotlin by learning how to make use of the standard library features the smart way
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.
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
Resolve the captcha to access the links!