This is my experience as well. I do not view the first shot LLM generated code as the end result. It’s more like a blob of clay I can continue to shape (with the LLM) until it meets my standards.
I also had a similar typed language experience, switching from untyped to type hinted python made the outputs much easier to understand and assess.
I also had a similar typed language experience, switching from untyped to type hinted python made the outputs much easier to understand and assess.