Let the LLM make a mess

Let the LLM write the code. The first version might be too big, but that’s fine. It figured out the problem by writing the solution. That’s how autocomplete works.

Now ask it to simplify. Make it smaller, cleaner, easier to understand.

This mirrors Kent Beck’s classic approach: make it work, then make it right.