From the course: Beyond Vibe Coding with Google Gemini: Become a Deliberate Developer
Unlock this course with a free trial
Join today to access over 25,200 courses taught by industry experts.
AI-generated documentation foundations - Gemini Tutorial
From the course: Beyond Vibe Coding with Google Gemini: Become a Deliberate Developer
AI-generated documentation foundations
- [Instructor] So far on our journey to increase our vibe coding productivity and quality to be deliberate developers, we focused on making our code work correctly and improving its internal structure. But there's another crucial layer to quality software, making it understandable to others as well as to our future selves. Documentation is often seen as a chore, something that you do after the real work is done. So today we're going to treat that as part of the design process. You'll learn how to use Gemini to rapidly generate high quality drafts of doc strings and templates, turning a tedious task into a fast, consistent and creative one. Let's start with a common scenario. A piece of code that works perfectly but has zero documentation. And here it is, it's a black box. This Python function processes a list of dictionaries, filters out inactive users, and then formats the remaining names. I can kind of sort of read the code to figure out what it does, but that takes time and mental…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.