No
Both models will happily write 200-line functions, no blank lines or comments, badly named variables, un-factored, horrible to read
dwb on Hacker News
1.5M line
In the thread “OpenAI may be in cost control mode”, replying to this comment
Got in the way: Models write long, unreadable, un-factored functions.
It’s a 1.5M line TypeScript and Rust codebase, fairly conceptually dense and complex, but in decent shape otherwise. Both models will happily write 200-line functions, no blank lines or comments, badly named variables, un-factored, horrible to read. They can manage better when told to improve it but I don’t remember code generation being this bad off the bat since pre-Opus 4.5.