Subject: Back to Hand-Writing
The Gist:
The post argues that a large AI-assisted codebase drifted into a brittle “god object” architecture: one huge model, many view-specific branches, positional data, and unsafe state changes. The author says AI was good at shipping isolated features, but bad at preserving architecture and invariants as the system grew. After discovering bugs and code sprawl in a 1690-line core file, they decided to rewrite in Rust with the architecture designed by hand first, then use AI only within those boundaries.
Key Claims/Facts:
- Architecture first: The author says concrete interfaces, ownership rules, and scope limits should be written manually before prompting AI.
- AI’s failure mode: AI is portrayed as good at features but prone to producing a single sprawling state container, ad hoc conditionals, and positional data bugs.
- Safer workflow: The new approach is to define typed structures, isolate views, and keep all state transitions on the main loop.
Consensus: Cautiously Optimistic.
Top Critiques & Pushback:
- Need for human judgment, not just guardrails: Several commenters agree that AI can follow constraints but still needs a human to decide when invariants should change or be abandoned (c48093197, c48093882, c48093701).
- AI makes hidden complexity worse: People argue that the speed boost encourages scope creep and leaves a larger cleanup burden later, especially in production code with strict quality requirements (c48092782, c48093084, c48092045).
- Review is not optional: A recurring objection is that you must read, understand, and test generated code; otherwise you risk shipping incoherent or broken behavior (c48093055, c48091711, c48090891).
Better Alternatives / Prior Art:
- Small contexts and modular boundaries: Commenters suggest limiting AI to narrow modules, pure functions, interfaces, and tests rather than letting it roam a whole app (c48094183, c48092962, c48091913).
- Use AI as an implementation helper, not an architect: Some describe a workflow where the human designs first, then AI fills in mechanical code or scaffolding (c48091539, c48093048, c48090600).
- Legacy-code discipline: A few compare the right approach to working carefully with legacy code: build seams, add tests, and refactor deliberately instead of trusting one-shot generation (c48093053, c48091558).
Expert Context:
- Comprehension debt framing: One thread refines “cognitive debt” into “comprehension debt,” emphasizing that the real cost is loss of understanding, not just code volume (c48091506, c48092409, c48092574).
Parsed and condensed via gpt-5.4-mini at 2026-05-11 13:00:22 UTC
Discussion Summary (Model: gpt-5.4-mini)
Consensus: Cautiously optimistic and amused; most commenters like the idea, but some question practical utility and complexity.
Top Critiques & Pushback:
Better Alternatives / Prior Art:
Expert Context: