Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Faisal Islam

Rating No ratings yet

Kotlin isn’t just for building Android apps. As you’ll learn in Kotlin from Scratch, it’s also a general programming language for crafting both elegant and efficient code. With the aid of 37 hands-on projects, you’ll move quickly through the language basics while building your problem-solving skills, even tackling advanced concepts like fractals, dynamic systems, and nature-inspired algorithms. You’ll explore the way Kotlin handles variables, control structures, functions, classes, and data structures, and you’ll learn to create visualizations using Kotlin and the JavaFX graphics library. Then you’ll build increasingly sophisticated apps to practice what you’ve learned while tackling challenges from math and science to algorithms and optimization. As you progress through the book, you will: Simulate physical systems, like the intricate dance of binary stars Implement the classic Hill cipher for encryption and decryption Generate beautiful fractals with recursive algorithms Program classic computer science algorithms for sorting and searching Solve the infamous Berlin52 traveling salesman problem Expand your language repertoire and improve your computational thinking with Kotlin from Scratch. Author Bio Dr. Faisal Islam brings a wealth of interdisciplinary expertise to Kotlin from Scratch. With an MS in civil engineering and a PhD in resource economics, he offers a unique perspective on applying computational thinking to real-world challenges. Dr. Islam has over 20 years of experience in coding across multiple languages (C, Java, Python, and Kotlin) to solve complex problems and an extensive background in simulation, modeling, and optimization.

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
【One-Line Pitch】 A project-driven introduction to Kotlin that treats the language as a general-purpose tool for computational thinking, not just Android development. Best suited to motivated beginners and programmers from other languages who want to learn Kotlin by building simulations, ciphers, fractals, and optimization solvers. 【Book Arc】 - **Opening (~0%–20%)**: Language fundamentals in Kotlin — variables, control structures, functions, classes, and data structures — framed as the toolkit you will reuse in every later project. - **Early (~20%–40%)**: First hands-on builds that turn syntax into working programs, establishing the project-based rhythm and basic problem-solving habits. - **Middle (~40%–60%)**: Visualization and graphics work using Kotlin with the JavaFX library, plus classic computer science algorithms for sorting and searching. - **Late (~60%–80%)**: Applied, math-and-science-heavy projects: simulating physical systems such as binary stars, implementing the Hill cipher for encryption and decryption, and generating fractals with recursive algorithms. - **Ending (~80%–100%)**: Advanced optimization and nature-inspired algorithms, culminating in solving the Berlin52 traveling salesman problem and similar challenges. 【Key Takeaways】 - **Kotlin is a general programming language, not only an Android language** (Early): the book deliberately uses non-mobile domains to broaden how you think about the language. - **Learning is organized around 37 hands-on projects** (Early): concepts are introduced because a project needs them, which builds problem-solving skill alongside syntax knowledge. - **Core language coverage spans variables, control structures, functions, classes, and data structures** (Early): this is the reusable foundation for everything that follows. - **Visualization is part of the curriculum** (Middle): Kotlin plus the JavaFX graphics library is used to make programs visible, connecting code to observable behavior. - **Classic algorithms get practical treatment** (Middle): sorting and searching are programmed directly rather than only described. - **Recursion becomes concrete through fractals** (Late): recursive algorithms are taught by generating visual output, which makes an abstract idea tangible. - **Real-world and scientific modeling is in scope** (Late): physical system simulation (binary stars), cryptography (Hill cipher), and optimization (Berlin52 traveling salesman) show Kotlin applied to math and science problems. - **Computational thinking is the through-line** (Late): the author's stated goal is expanding your language repertoire and your ability to think computationally. 【Reading Tips】 - Treat the projects as the spine: read the concept section only until you can start the project, then return for details when you get stuck. - Deep-read the fundamentals stage even if you know another language — Kotlin's handling of variables, functions, and classes is where the later projects will trip you up. - Skim the JavaFX setup details on a first pass; focus on how visualization supports understanding algorithms rather than on graphics-library minutiae. - For the late-stage projects (fractals, binary stars, Hill cipher, Berlin52), work them on a machine — these are the chapters where reading alone will not transfer the skill. - Keep a personal index of which project taught which language feature; it makes the book useful as a reference after a first read. 【Coverage Limits】 The available excerpts describe the book's scope, project list, and author background but do not include chapter titles, code samples, or detailed section-by-section content. This guide therefore maps the book's advertised arc rather than its internal structure.
Excerpt 1
书名: Kotlin from Scratch A Project-Based Introduction for the Intrepid Programmer (Faisal Islam) (Z-Library) 作者: Faisal Islam Kotlin isn’t just for building A...
View in text
Tags
AI categories
Programming LanguageGoEducation
Publisher: No Starch Press
Publish Year: 2025
Language: English
Pages: 436
File Format: PDF
File Size: 30.2 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…