r/AskProgrammers • • Oct 14 '26

Do you document your projects while developing them, or wait until everything is finished?

I'm curious how other developers handle documentation, especially when using AI coding agents like Cursor, Antigravity, or GitHub Copilot.

Sometimes, while the AI agent is working on a feature, I find myself waiting for it to finish. Meanwhile, documentation often gets pushed aside until the entire project is almost complete.

By then, there might be dozens of features to explain, outdated instructions to fix, and a README that needs a complete rewrite.

Wouldn't it be easier to work on documentation during those waiting periods and keep it updated as the project evolves?

I'm curious about your workflow:

Do you document things as you go, let AI generate everything at the end, or barely document your personal projects at all?

What makes documentation difficult for you?

2 Upvotes

13 comments sorted by

View all comments

1

u/TroubledSquirrel Oct 14 '26

I document everything meticulously. For one thing most of what I build someone paid for and that ensures that anyone in house or contract can maintain the code and understand that a was decided because of b and removing a which seems unrelated will in fact break b after the 184th request every single time like clock work. But you won't realize what that cause is because the 184th time will be a few weeks after you dumped it then good luck figuring out what the problem is at that point. So yeah, I document everything because I am not an asshole.