Автор: Tim Lavers
Издательство: Apress
Год: 2021
Страниц: 373
Язык: английский
Формат: pdf (true), epub
Размер: 14,0 MB
Научитесь программированию, начиная с основ и прогрессируя к серии захватывающих проектов, использующих Kotlin, одного из самых модных сегодня языков программирования. Эта книга начинается с абсолютных основ, а затем вводит достаточное количество синтаксиса, чтобы попасть в некоторые увлекательные проекты. К ним относятся текстовая обработка: статистический анализ романов Джейн Остин, решение анаграмм и работы с палиндромами; обработка изображений: обрезка и изменение размеров изображений; преобразование пикселей; а также компьютерное зрение: нахождение цифр, парсинг изображений и символов скорости чтения.
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.
The book is organized into four parts, as follows: In Part I, you will set up the tools needed, get a first program running, and then learn just enough syntax that you can start working on the projects. Part II concentrates on software for text analysis and word games. This introduces the concepts of Object-Oriented Programming and Unit Testing, which are two cornerstones of modern software engineering. Part III is about image processing and concludes with a CGI (computer-generated imagery) program. By doing this project, you will learn Functional Programming, which is an extremely important feature of modern computer languages. Finally, in Part IV, you will consolidate your skills by developing a computer vision system that reads speed signs.
Throughout the book, you will use the same language and tools that are used by professional software engineers worldwide. The language, Kotlin, is very modern and has a simpler syntax than almost any other language used today. Not only is Kotlin a beautiful and powerful language, but it is employed in a wide variety of situations, from hugely complex business software to web programming, to data science, to Android apps. The skills that you learn here will be applicable in any of these areas.
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.
Скачать Learn to Program with Kotlin: From the Basics to Projects with Text and Image Processing