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
From the course: Accelerate DevOps and Software Development with AI: Modern Tools and Workflows for Enhanced Software Delivery
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
-
-
-
-
(Locked)
What powers GitHub Copilot and ChatGPT?4m 20s
-
(Locked)
Prompt engineering for developers2m 38s
-
(Locked)
Role-based prompting for better code reviews2m 31s
-
Iterative prompting to guide AI to better code3m 35s
-
(Locked)
Coding project: Plan and test with AI tools1m 59s
-
(Locked)
Coding project: Speed up Python coding with smart prompts2m 26s
-
(Locked)
Coding project: Create AI-assisted test cases in Python2m 31s
-
(Locked)
Coding project: AI-powered docstrings for developers2m 18s
-
(Locked)
Coding project: Review Python code with AI1m 55s
-
(Locked)
Coding project: Navigating code with AI59s
-
(Locked)
Coding project: Refactor Python code with AI4m 6s
-
(Locked)
Case studies: AI wins and fails4m 22s
-
(Locked)
-
-
-