nathanmarz lists 9 LLM coding mistakes he had to fix this week
RealGeneKim · x · 2026-09-01
nathanmarz shared a list of mistakes he had to correct this week while coding with LLMs (mostly Fable): overly complex dependency injection, hand-rolling encryption instead of using a library, keeping unnecessary state, unhandled memory leaks in tracked state on failure paths, incomplete test coverage especially for failure modes, grossly inefficient file handling justified by "dev scale", buggy over-complex locking schemes, missed race conditions, and premature configs.
His key point: if uncorrected, every future iteration compounds the structural and semantic problems—the code "works" until you realize it's full of bugs, performs terribly, and can only be fixed with a rewrite.
More from coding & agent
- 实测:Qwen 27B 在配置调试中一次性修复了 DSV4 无法解决的问题 — OvertaxedOne · 2026-09-01
- AI Agents现状:效果惊艳但仍需大量人工干预 — Hot-Cup3451 · 2026-09-01
- SOTA agents generate useless code; we need precise definitions for bad code — alexisgallagher · 2026-09-01
- Dev shares HTML to PPTX solution using pptxgenjs — dotey · 2026-09-01
- Developer Observes Persistent Dumb Decisions in AI Code Outputs — rickasaurus · 2026-09-01
- Inside Anthropic's Hackathon: Can AI One-Shot a Full Unity 3D Game? — davidfromkansas · 2026-09-01