AI code comprehension bottleneck
Feathers: AI code output outpaces human understanding; use projections and deliberate comparison to close the gap CraftHub Events (Craft Conference)TL;DW
- AI generates code faster than humans write legacy code, intensifying the need for understanding-first practices rather than code review bottlenecks.
- Peter Naur's theory-building model: programming is not just writing code but developing tacit knowledge of system behavior, implications, and edge cases.
- Use 'lensing'—asking AI scaled questions (five responsibilities, then three) to reveal different conceptualizations of the same system at different abstraction levels.
- Projections: translate code into alternative forms (mathematical notation, state diagrams, other languages) to gain insights impossible from the original representation alone.
- Delete all source code, keep tests, and have AI regenerate code to test its capability—reveals whether it truly understands the system or just passes surface-level tests.
- Availability bias is your enemy: AI makes convenient decisions on your behalf (framework choice, scoring logic) you never explicitly requested and may tire of evaluating.
- Before asking AI for help, struggle with the problem yourself first; this effort forms the neural connections needed to retain and apply knowledge deeply.
- Ask AI 'what is unnecessary here?' to find architectural redundancies, dead code, and unneeded abstractions beyond simple duplication detection.
- Request multiple solutions (ask for N implementations) and compare them to understand design tradeoffs and explore alternative approaches without contamination between outputs.
- The more automation increases, the more capable humans must become: deep systems knowledge becomes essential when you're only called in for cases AI cannot handle.
TL;DW
- AI generates code faster than humans write legacy code, intensifying the need for understanding-first practices rather than code review bottlenecks.
- Peter Naur's theory-building model: programming is not just writing code but developing tacit knowledge of system behavior, implications, and edge cases.
- Use 'lensing'—asking AI scaled questions (five responsibilities, then three) to reveal different conceptualizations of the same system at different abstraction levels.
- Projections: translate code into alternative forms (mathematical notation, state diagrams, other languages) to gain insights impossible from the original representation alone.
- Delete all source code, keep tests, and have AI regenerate code to test its capability—reveals whether it truly understands the system or just passes surface-level tests.
- Availability bias is your enemy: AI makes convenient decisions on your behalf (framework choice, scoring logic) you never explicitly requested and may tire of evaluating.
- Before asking AI for help, struggle with the problem yourself first; this effort forms the neural connections needed to retain and apply knowledge deeply.
- Ask AI 'what is unnecessary here?' to find architectural redundancies, dead code, and unneeded abstractions beyond simple duplication detection.
- Request multiple solutions (ask for N implementations) and compare them to understand design tradeoffs and explore alternative approaches without contamination between outputs.
- The more automation increases, the more capable humans must become: deep systems knowledge becomes essential when you're only called in for cases AI cannot handle.
Drawing on Peter Naur's theory-building model, Feathers argues the bottleneck is comprehensibility, not generation speed. Covers concrete techniques: scaled explanations, state-diagram projections, forcing N solutions instead of one, and struggling with a problem yourself before delegating—so skills migrate up to design rather than atrophying.
