Beginner's Guide to Kotlin Programming

· Springer Nature
Ebook
519
Pages

About this ebook

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 anintroduction 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.

About the author

John Hunt is a technology trainer, consultant, mentor and author who nearly 40 years’ experience within the computing industry. He has worked extensively in Object Oriented and Functional technologies using language from Python through Java to Kotlin. John was first involved with Kotlin while working with a FinTech company in 2016. Since then, John has seen the interest in Kotlin grow and grow and in recent years has found numerous clients have been turning from Java to Kotlin both for server side and Android mobile applications.

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.