It depends on how often similar code has been written. LLMs often mess up line order too leading to tricky to find bugs.