The tax we pay when building with AI

I just spent two days debugging code that my AI wrote, which had a subtle logic flaw buried deep within. This experience really highlights the challenges of working with ai coding tools and the artificial intelligence behind them. It makes you think about the ai limits and the role of a human ai developer in software engineering when dealing with AI-generated code. 🤖 In this video: What comprehension debt is and why it's different from technical debt The Anthropic study that should worry every developer using AI tools The doom loop that makes the problem exponentially worse 5 concrete steps to stay out of the hole Timestamps: 00:00 — Intro 01:00 — AI is a superpower. But... 02:35 — What is comprehension debt? 03:25 — "Legacy code the moment you commit it" 05:45 — The doom loop 06:58 — The junior dev pipeline problem 07:27 — The antidote (5 ways to fight back) 08:08 - Document the why behind decisions 09:16 - Make AI explain itself 09:56 - Refactor AI code by hand 10:30 - Score your comprehension 11:20 - Use AI actively 12:10 — The honest answer 🎬 Previous video — House of Cards:    • Is Your AI-Built App a House of Cards?   — About me I'm Hak. Engineer turned founder. I build AI-native software and share what I learn here. No hype. Just real lessons from the trenches. Subscribe if that's your thing. — Links: 📄 Hak on Comprehension Debt: https://letters.haks.io/p/comprehensi... 📄 Addy Osmani — Comprehension Debt: The Hidden Cost of AI-Generated Code:   / comprehension-debt-the-hidden-cost-of-ai-g...   📄 Codemanship — Comprehension Debt: The Ticking Time Bomb: https://codemanship.wordpress.com/202... Anthropic Study: https://www.anthropic.com/research/AI... StackOverflow Article on AI Coding Tools: https://stackoverflow.blog/2026/02/18... Join a community of builders: https://agentive.build Work with me: https://agentivestack.ai My Playground: https://haks.io X: https://x.com/mostlyhak LI:   / mostlyhak   #aicoding #comprehensiondebt #softwaredevelopment #aitools #developer #techdebt