From the course: Accelerate DevOps and Software Development with AI: Modern Tools and Workflows for Enhanced Software Delivery

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Coding project: Review Python code with AI

Coding project: Review Python code with AI

- As important as it is for you to write code, it's equally as important to learn to review it, so that's exactly what we'll do next. We'll use AI as a code reviewer. If you want to use the same code as the one I'm using, you'll find it in the exercise files. I'll give it a role and ask for a prioritized critique of this class, like what a senior engineer would send in a PR review. My prompt says to assume the role of a staff engineer and code reviewer. I want to be kind, but direct, and I want a prioritized critique of the book service class, assuming that it was written by a new grad. This is pretty cool. It's showing you what it's doing in the form of a checklist. That's pretty handy. Okay, so it seems to be pretty happy with the work that we've done so far. It says the code is well documented, it follows good practices, and it implements the requirements correctly. That's great. So the first blocker that it's…

Contents