Forums

Michael•

5mo ago

Why we should document AI-generated code like real developers do

I've been thinking about something.
We've gotten really good at using AI to generate working code, but we're not treating it like production code in terms of documentation.

Traditional developers spend significant time documenting their code because they know future them (or their teammates) will need to understand, modify, or debug it later. But with AI-generated code, we often just copy-paste and move on.

The problem:

You generate a perfect solution today.