Programming with AI
ENRU
A handbook by Lunario

Programming with AI

How to give an AI a task, read the code it wrote, and check what came out. For people who already write code together with an AI and don't want to take it on trust.

Russian edition, PDF

Ask
a request with context, a goal, constraints and a definition of done — so the AI builds what you meant, not what it guessed.
Read
files, functions, tracebacks and diffs well enough to tell what the code does and where it will break.
Check
run it, test it, catch invented methods and silent errors, and know when to roll back.

How it reads

113 short articles, each built the same way: what it is, what it looks like in code, what to tell the AI, what to look for, and a cheat sheet. Read in order, or jump to the one you need today.

Next to the text is a console: the JavaScript and Python examples run right in your browser and are compared with the output recorded in the book.

Contents

Foundations

About this book