Kotlin Cookbook: A Problem-Focused Approach
Authors: Ken Kousen
ISBN-10: 1492046671
ISBN-13: 9781492046677
Edition 版次: 1
Publication Date 出版日期: 2019-12-03
Print Length 页数: 254 pages
Book Description
By finelybook
Use Kotlin to build Android apps,web applications,and more—while you learn the nuances of this popular language. With this unique cookbook,developers will learn how to apply thisJava-based language to their own projects. Both experienced programmers and those new to Kotlin will benefit from the practical recipes in this book.
Author Ken Kousen (Modern Java Recipes) shows you how to solve problems with Kotlin by concentrating on your own use cases rather than on basic syntax. You provide the contextand this book supplies the answers. Already big in Android development,Kotlin can be used anywhere Java is applied,as well as for iOS development,native applications,JavaScriptgeneration,and more. Jump in and build meaningful projects with Kotlin today.
Apply functional programming concepts,including lambdas,sequences,and concurrency
See how to use delegates,late initialization,and scope functions
Explore Java interoperability and access Java libraries using Kotlin
Add your own extension functions
Use helpful libraries such as JUnit 5
Get practical advice for working with specific frameworks,like Android and Spring
Preface
1.Installing and Running Kotlin
2.Basic Kotlin
3.Object-Oriented Programming in Kotlin
4.Functional Programming
5.Collections
6.Sequences
7.Scope Functions
8.Kotlin Delegates
9.Testing
10.Input/Output
11.Miscellaneous
12.The Spring Framework
13.Coroutines and Structured Concurrency
Index