Hacker News new | ask | show | jobs
by beardyw 479 days ago
Writing documentation after coding should strongly feature why things were done the way they were. How could an LLM do that?
1 comments

Very true. Generated docs will never be able to do that part.

That being said from what I've seen at work (and I think other people experience the same), the bar is not that high. Meaning if the LLM generated documentation was able to explain what is happening without the "why" that would already be a significant improvement.

I’d imagine it wouldn’t be hard to have a kind of hybrid method. The developer comments the code for a reason, and ai can expound on that comment if necessary.