My Account Log in

1 option

Beginner's Guide to Kotlin Programming / by John Hunt.

SpringerLink Books Computer Science (2011-2024) Available online

View online
Format:
Book
Author/Creator:
Hunt, John, Author.
Contributor:
SpringerLink (Online service)
Series:
Computer Science (SpringerNature-11645)
Language:
English
Subjects (All):
Programming languages (Electronic computers).
Computer programming.
Coding theory.
Information theory.
Mobile computing.
Programming Language.
Programming Techniques.
Coding and Information Theory.
Mobile Computing.
Local Subjects:
Programming Language.
Programming Techniques.
Coding and Information Theory.
Mobile Computing.
Physical Description:
1 online resource (XXIV, 519 pages) : 1077 illustrations, 174 illustrations in color.
Edition:
1st ed. 2021.
Contained In:
Springer Nature eBook
Place of Publication:
Cham : Springer International Publishing : Imprint: Springer, 2021.
System Details:
text file PDF
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.
Contents:
Introduction
Part 1: Kotlin Programming
A First Kotlin Program
Flow of Control
Number Guessing Game
Functions in Kotlin
Higher Order Functions
Curried Functions
Part 2: Object Oriented Kotlin
Kotlin Classes
Objects and Companion Objects,- Further Kotlin Properties
Scope and Conditional Functions
Class Inheritance
Abstract Classes
Interfaces, Delegation and Enumerated Types
Packages
Nested and Inner Types
Data Classes
Sealed and Inline Classes and Typealias
Operator Overloading
Error and Exception Handling
Extension Functions and Properties
Part 3: Data Containers
Arrays
Collections
Lists
Sets
Maps
Pairs and Triples
Generic Types
Functional Programming and Containers
Part 4: Concurrent Kotlin
Coroutines
Coroutine Channel Communications
Part 5: Android Development
Android Overview
Applications and Activities
Android Layouts and Events
Android Tic Tac Toe.
Other Format:
Printed edition:
ISBN:
978-3-030-80893-8
9783030808938
Access Restriction:
Restricted for use by site license.

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account