You seriously think current LLM is just at apprentice level in programming? It can write stuff one shot that I’d expected even some experts to struggle to do even with ample more time allowed.
They will one shot with bunch of duplicated code, somehow they will just omit basic things, like security middleware. It will all kind of work. But then you make additional passes to do review and clean up, suddenly there is a lot more work to make it half decent.