About This Book¶
Why This Book¶
AI has made building cheap. A person with a good idea can ship in a weekend what used to take a team a quarter. The hard part has moved. It used to be "can I build it." Now it is "is what I built safe, does it keep working, and can I still change it next month."
The numbers show both halves of that change.
More people build with AI:
- 84% of developers in Stack Overflow's 2025 survey use AI tools or plan to, up from 76% the year before1.
- In the same survey, 46% said they don't trust the accuracy of what AI tools produce, up from 31% a year earlier1.
What AI-built code gets wrong:
- When Veracode gave more than 100 AI models 80 coding tasks, each with a secure and an insecure way to do it, the models chose the insecure way 45% of the time2.
- GitGuardian counted about 23.8 million new secrets, such as API keys and passwords, pushed to public GitHub repositories in 2024, a 25% rise over 20233.
- Broken access control, where a user can reach data or actions that aren't theirs, is first on the OWASP Top 10 list of web app security risks4.
Behind each of those numbers is an app someone cared about, and users who trusted it with their photos, messages or money. Professional engineers learned these lessons slowly, over decades, from outages and breaches. Builders who code with AI meet the same problems in weeks. This book gives them the lessons without the decades.
It doesn't try to turn you into a software engineer. It teaches you to set the bar for each part of your app. Herbert Simon called this satisficing: stop when the design meets the bar, not when it is perfect. Some parts must be right the first time, because a mistake there hurts a user or can't be undone. Most parts only need to be good enough today and easy to change tomorrow.
The book is built on a learning graph, a map of 393 concepts and which ones depend on which. No concept appears before the ones it needs, so each chapter builds on the last. Interactive MicroSims let you try an idea in the browser: step through a deploy, play the server deciding who gets access, or sort the parts of an app into must-be-right and good enough for now. Every technical word is defined the first time it appears. The book is free to read under a Creative Commons license.
How to Use This Book¶
Read the chapters in order the first time. After that, jump to whichever chapter matches the problem in front of you. The book includes:
- 18 chapters, from how a web app works and how AI agents fail, through secrets, sign-in, sensitive data, outside services, testing, databases, logs, costs, deploys, technical debt and security, to rules that enforce themselves and knowing when you need help.
- One running example, a dating-safety app built by a domain expert with AI agents, that shows what the agent got right, what it missed, and the habit that would have caught it.
- 55 MicroSims you can use in the browser.
- A quiz at the end of each chapter.
- References for each chapter, gathered into one list of sources.
- A glossary of every term the book defines.
- An FAQ with 105 questions and answers.
- Search from any page, using the search bar.
The Learning Graph Viewer shows how the concepts connect. Use it to explore out of order, or to check what a topic depends on.
About the Author¶
Arun Batchu builds software with AI coding agents and teaches others to do the same. Some of the stories in this book come from his own projects, such as scheduled jobs that stopped running without an error, and an API key that broke an app because of one stray newline.
Selected Credentials
You can reach Arun on LinkedIn.
How to Cite This Book¶
If you cite this textbook in a paper, a course proposal or another publication, use one of these formats.
APA (7th edition)
Batchu, A. (2026). Good Enough Engineering: What Builders Who Code With AI Need to Know to Ship Safely. https://arunbatchu.github.io/good-enough-engineering/
Chicago (17th edition)
Batchu, Arun. 2026. Good Enough Engineering: What Builders Who Code With AI Need to Know to Ship Safely. https://arunbatchu.github.io/good-enough-engineering/.
MLA (9th edition)
Batchu, Arun. Good Enough Engineering: What Builders Who Code With AI Need to Know to Ship Safely. 2026, arunbatchu.github.io/good-enough-engineering/.
BibTeX
@book{batchu2026goodenough,
title = {Good Enough Engineering: What Builders Who Code With AI Need to Know to Ship Safely},
author = {Batchu, Arun},
year = {2026},
url = {https://arunbatchu.github.io/good-enough-engineering/},
note = {Interactive intelligent textbook}
}
To cite one chapter, add its number and title. For example:
Batchu, A. (2026). Chapter 1: Good Enough as an Engineering Idea. In Good Enough Engineering. https://arunbatchu.github.io/good-enough-engineering/chapters/01-good-enough-idea/
License¶
This work is released under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0). You may share and adapt it for non-commercial purposes, as long as you give credit and share your changes under the same license.
References¶
-
Stack Overflow. (2025). 2025 Developer Survey: AI. https://survey.stackoverflow.co/2025/ai ↩↩
-
Veracode. (2025, July 30). AI-Generated Code Poses Major Security Risks in Nearly Half of All Development Tasks [Press release on the 2025 GenAI Code Security Report]. https://www.veracode.com/press-release/ai-generated-code-poses-major-security-risks-in-nearly-half-of-all-development-tasks-veracode-research-reveals/ ↩
-
GitGuardian. (2025). The State of Secrets Sprawl 2025. https://www.gitguardian.com/state-of-secrets-sprawl-report-2025 ↩
-
OWASP Foundation. (2025). OWASP Top 10:2025. https://top10.owasp.org/2025/ ↩