zlacker

[parent] [thread] 2 comments
1. ameliu+(OP)[view] [source] 2025-12-06 17:58:28
Because it takes time and effort to write documentation.

If people __can__ actually read undocumented code with the help of LLMs, why do you need human-written documentation really?

replies(2): >>baq+An >>gr4vit+oy
2. baq+An[view] [source] 2025-12-06 21:20:59
>>ameliu+(OP)
Docs are a form of error correcting coding for code. Docs+code allows you to spot discrepancies and ask which one is the intended behavior.
3. gr4vit+oy[view] [source] 2025-12-06 22:58:14
>>ameliu+(OP)
It doesn't need to be written by a human only, but I think generating it once and distributing it with source code is more efficient. Developers can correct errors in the generated documentation, which then can be used by humans and LLMs.
[go to top]