Beginner's Guide to Kotlin Programming

Kotlin is an exciting new language that runs on Windows, macOS and Linux operating systems. It has also been adopted by Google as their preferred language for Android development. This textbook assumes very little knowledge of programming so whether you have dabbled with a little JavaScript, played...

Full description

Bibliographic Details
Main Author: Hunt, John
Format: eBook
Language:English
Published: Cham Springer International Publishing 2021, 2021
Edition:1st ed. 2021
Subjects:
Online Access:
Collection: Springer eBooks 2005- - Collection details see MPG.ReNa
Description
Summary:Kotlin is an exciting new language that runs on Windows, macOS and Linux operating systems. It has also been adopted by Google as their preferred language for Android development. This textbook assumes very little knowledge of programming so whether you have dabbled with a little JavaScript, played with a bit of Python, written Java or have virtually no programming experience at all you will find that it is for you. The first part of the book introduces Kotlin program structures as well as conditional flow of control features such as if and when expressions as well as iteration loops such as for, while and do-while. Subsequent chapters explain how functions are implemented in Kotlin and introduce concepts from functional programming such as higher order functions and curried functions. The second part focusses on object oriented programming techniques, these include classes, inheritance, abstraction and interfaces. The third part presents container data types such as Arrays, and collections including Lists, Sets and Maps and the fourth part considers concurrency and parallelism using Kotlin coroutines. The book concludes with an introduction to Android mobile application development using Kotlin. Clear steps are provided explaining how to set up your environment and get started writing your own Kotlin programs. An important aspect of the book is teaching by example and there are many examples presented throughout the chapters. These examples are supported by a public GitHub repository that provides complete working code as well as sample solutions to the chapter exercises. This helps illustrate how to write well structured, clear, idiomatic Kotlin to build real applications
Physical Description:XXIV, 519 p. 1077 illus., 174 illus. in color online resource
ISBN:9783030808938