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.

Critically evaluating AI code review suggestions

Critically evaluating AI code review suggestions

- [Instructor] In our last video, we saw how Gemini can act as a powerful code reviewer, spotting code smells and suggesting improvements. It's tempting to see that beautifully refactored code and then just hit copy and paste, but that's not being a deliberate developer. And frankly, taking a risk that this vibe coding will greatly increase your technical debt, and nobody wants that. So let's consider the next step, critically evaluating the generated feedback. Let's explore how to analyze Gemini suggestions and make informed decisions on what to accept, what to question, and even what to reject. We'll look at a new scenario. This function calculates the total price for the items in a shopping cart and applies a discount if the user's a premium member. Again, it works, it's functional code. But let's now explore running this through Gemini with the same prompt that we had in the previous video. So I'm going to ask Gemini to act as a senior Python developer conducting a code review…

Contents