The thing nobody wants to pay for - documentation
The thing nobody wants to pay for - documentation
Posted Feb 10, 2024 20:12 UTC (Sat) by sammythesnake (guest, #17693)In reply to: The thing nobody wants to pay for - documentation by jezuch
Parent article: The things nobody wants to pay for
Really, what we need is for programming languages to work high enough level that "writing documentation" is a whole bunch less work because the programming language expresses not only what happens and how, but what's *supposed* to happen, and something of *why*. Unit tests/regression tests could also help a whole bunch on some of this by providing clarification of intended behaviour.
With the right expressiveness of programming languages and good unit/regression tests that refine the implicit "specification", clever automation could perhaps produce summaries from the code/tests - something vaguely akin to Javadoc etc. but *code* focused and able to summarise code (CodeGPT, maybe!)
With good languages/tools on this front, the amount of documentation that would need *manually* writing could be somewhat less and a much less daunting task - possibly less likely to be put off indefinitely(!)
