Generating Code Documentation with AI

5 points by daviddom ↗ HN
Hi there, community. I'm building a product that will create documentation for front-end code using AI. This will include comments on the codebase, diagrams, component render tree, etc. The purpose of this is to decrease the time it takes to a new developer to be productive on an existing codebase. Would you find this useful? I'd love to know if you have this problem. Thanks.

2 comments

[ 1.8 ms ] story [ 18.2 ms ] thread
It might be useful, but the specific effectiveness depends on the accuracy of the model's output. Of course, even if there are issues with the output, adding a manual review should still save a lot of time.
I think you are narrowing the view so much. If you can provide comments on the whole codebase along with the render tree, that means you can literally UNDERSTAND how it works. With a stronger collection of codebase, you will have the capability to build a no-code frontend builder that is way more powerful