From the course: Build with AI: Beyond Pair Programming with AI

Unlock this course with a free trial

Join today to access over 25,000 courses taught by industry experts.

Generating documentation

Generating documentation

- [Speaker] If I ask you to look at this code and tell me what is missing, and you say documentation, you're one of the rare few who immediately think of documentation when you work with code. Let's be honest here, a lot of developers, myself included, do not spend the time writing the necessary documentation for the projects we're working on because as we're inside the project, we know what's going on and it's hard to dedicate the time to write copious documentation. Even though we know in the back of our heads that future us will be very frustrated that there's a lack of documentation. AI coding tools give us multiple solutions to this problem. The first one is we can get the AI tool to generate documentation as we're writing the code. The second one is if we encounter code that is not documented, we can get the AI to generate documentation for that code on the fly. So really the problem of future us being frustrated at current us over not writing documentation isn't that much of a…

Contents