# Retype LLM-generated code manually to avoid cognitive debt

Developers are discussing a practice of manually retyping code produced by large language models, rather than pasting it directly. The idea is that typing the code forces a developer to read and understand it, reducing the risk of maintaining code they don't fully grasp. This approach aims to prevent hidden errors and long-term "cognitive debt" in software projects.

**Importance:** 3/5

## Sources

### Technology
- [Hacker News](https://ankursethi.com/blog/prevent-cognitive-debt-by-manually-retyping-llm-generated-code/) — Mon, 03 Aug 2026 09:32:07 +0000
- [Hacker News](https://app.dealroom.co/news/feed/oracle-bans-ai-generated-code-from-openjdk-despite-ellison-s-claim-oracle-isn-t-writing-its-own-code) — Fri, 07 Aug 2026 17:36:30 +0000