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.

Original post →

More from coding & agent

coding & agent channel →