Kotlin for the Curious placeholder cover

Kotlin for the Curious

by Faisal Islam
November 2024, 300 pp.
ISBN-13: 
9781718503526
Use coupon code PREORDER to get 25% off!

Kotlin is a cutting-edge programming language that seamlessly combines the best features of several popular programming languages, offering a streamlined and intuitive experience for developing robust, type-safe applications across multiple platforms. Though Kotlin is primarily known for Android app development, this book establishes its broader credentials for general-purpose coding—complete with geeky, hands-on projects that will take you from total beginner to proficient Kotlin developer.

After learning the basics of the language and integrating the JavaFX library to generate graphics and data visualizations, you’ll apply your knowledge to solve 37 math, science, and algorithmic challenges of increasing complexity. You’ll model the motion of a pendulum, simulate the orbits of a binary star system, render enchanting fractals like the Mandelbrot set, implement ant colony optimization and other nature-inspired algorithms, and much more. 

Beyond the specifics of the Kotlin language, the book’s many projects will guide you in thinking systematically and strategically, teaching you how to develop problem-solving strategies before diving into actual code development. In addition, you’ll learn about concepts from numerical analysis and computer science such as convergence and stability, time and space complexity, recursion, sorting, searching, and several nature-inspired optimization techniques, all of which are applied to tackle real-world problems.

Author Bio 

Faisal Islam is a manager, educator, developer, and author of both fiction and nonfiction. With over two decades of coding experience in languages such as C, Java, Python, and Kotlin, he thrives on solving complex real-world challenges. Faisal’s background in engineering and economics equips him with a unique perspective, allowing him to apply computational thinking, modeling, simulation, and optimization techniques effectively.

Beyond his technical pursuits, Faisal is an advocate for STEM education, particularly among young learners. His passion lies in inspiring the next generation of coders. In his spare time, Faisal enjoys photography, sci-fi novels, and travelling with his family.

Table of contents 

Introduction

Part I: Kotlin and JavaFX Essentials
Chapter 1: Kotlin Basics
Chapter 2: Arrays, Collections, and Classes
Chapter 3: Visualizing with JavaFX
Part II: Applications in Math and Science
Chapter 4: Fun with Math
Chapter 5: Fun with Science
Part III: Recursion, Sorting, and Searching
Chapter 6: Lost in Fractals
Chapter 7: Sorting and Searching
Part IV: Stealing Nature's Secrets
Chapter 8: The Generic Algorithm
Chapter 9: Agent-Based Algorithms

Appendix

The chapters in red are included in this Early Access PDF.