The very basics of programming in Kotlin using the IntelliJ code editor.
Chapter 1: Getting Started
Chapter 2: Simple patterns
Chapter 3: Arrays and loops
Chapter 4: Binary choices
Chapter 5: Integers
Chapter 6: Values and variables
Chapter 7: Strings
Chapter 8: Data structures
Chapter 9: The file system
PART II - TEXT
Object-Oriented Programming, Unit Testing and code refactoring through a series of fascinating text-related projects.
Chapter 10: Project Austen
Chapter 11: Anagrams
Chapter 12: Palindromes
Chapter 13: Word switch
PART III - IMAGES
This part of the book introduces Functional Programming by building a basic image processing library.
The culmination of this is a CGI (Computer Generated Imagery) project.
Chapter 14: Colour pictures
Chapter 15: Pixel transformations
Chapter 16: Cropping and resizing images
Chapter 17: Project Dino
PART IV - VISION
We cap it all of with a project in which we write software to locate and read speed signs in photos.
Chapter 18: Overview
Chapter 19: Finding digits
Chapter 20: Parsing the images
Chapter 21: Reading speed signs
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.
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.
You will:
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