Skip to main content
  • Book
  • © 2021

Learn to Program with Kotlin

From the Basics to Projects with Text and Image Processing

Apress

Authors:

  • A practical projects-oriented approach to learning to program in Kotlin
  • Includes examples and case studies including computer vision
  • Tim Lavers is an expert with KPMG
  • 23k Accesses

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (21 chapters)

  1. Front Matter

    Pages i-xvi
  2. Basics

    1. Front Matter

      Pages 1-1
    2. Getting Started

      • Tim Lavers
      Pages 3-11
    3. Simple Patterns

      • Tim Lavers
      Pages 13-20
    4. Arrays and Loops

      • Tim Lavers
      Pages 21-31
    5. Binary Choices

      • Tim Lavers
      Pages 33-48
    6. Integers

      • Tim Lavers
      Pages 49-63
    7. Values and Variables

      • Tim Lavers
      Pages 65-73
    8. Strings

      • Tim Lavers
      Pages 75-89
    9. Data Structures

      • Tim Lavers
      Pages 91-100
    10. The File System

      • Tim Lavers
      Pages 101-108
  3. Text

    1. Front Matter

      Pages 109-109
    2. Project Austen

      • Tim Lavers
      Pages 111-156
    3. Anagrams

      • Tim Lavers
      Pages 157-183
    4. Palindromes

      • Tim Lavers
      Pages 185-193
    5. Word Switch

      • Tim Lavers
      Pages 195-227
  4. Images

    1. Front Matter

      Pages 229-229
    2. Color Pictures

      • Tim Lavers
      Pages 231-258
    3. Pixel Transformations

      • Tim Lavers
      Pages 259-280
    4. Cropping and Resizing Images

      • Tim Lavers
      Pages 281-300

About this book

Teach yourself programming starting with the basics and progressing to a series of exciting projects using Kotlin, one of today's hottest programming languages. This book starts with the absolute basics and then introduces just enough syntax to get into some fascinating projects. These include text processing: a statistical analysis of Jane Austen's novels, solving anagrams, and working with palindromes; image processing: cropping and resizing images, and pixel transformation; and computer vision: finding digits, parsing images, and reading speed signs.

The projects are developed in tiny steps and complete solutions are provided. Some of these projects include core data science concepts, giving you skills in one of the most important areas of modern programming. Along the way you’ll cover functional programming, object-oriented programming (OOP), refactoring, and writing unit tests.

After reading Learn to Program with Kotlin, you'll come away with practical insights and code to get you started right away with programming using Kotlin for your own projects. 

What You Will Learn

  • Gain the basics of Kotlin using the IntelliJ Java IDE
  • Implement OOP with Kotlin along with unit testing and code refactoring using a series of text-related projects
  • Harness functional programming with Kotlin by building an image-processing library
  • Write software to locate and read speed signs in photos

Who Is This Book For

Anyone who wants to learn how to program or code from scratch. Also great for experienced programmers who want to know more about Kotlin. 

Authors and Affiliations

  • Woonona, Australia

    Tim Lavers

About the author

Tim Lavers is a senior software engineer at KPMG with expertise in Java, Kotlin, and other programming languages employed for data engineering and enterprise software projects. He is also a mathematical hobbyist in his spare time. 

Bibliographic Information

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access