From the course: AI-Powered Software Development: Coding, Testing, and System Design
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Code review and quality checks
From the course: AI-Powered Software Development: Coding, Testing, and System Design
Code review and quality checks
- [Instructor] All right, so now that we've seen how to use AI tools to correct errors and bugs in our code, the next thing that we're gonna do is take a look at how these same tools can be used for another type of problem, and I would venture to say a problem that's just as common for many software developers, and that is fixing code that's either hard to read or not as performant as it should be. So what we have here are two examples. The first one here is a function that simply takes two numbers and some sort of operation as a string, and applies that operation to those numbers. So again, a pretty straightforward thing, but because of how this function is implemented, it's really not the easiest to read, and it goes against a lot of conventions that are used when writing Python code. Basically, this code here is not what's known as Pythonic. So that's the first problem, and this is something that AI can help us…
Contents
-
-
Code generation and completion: What are my options?5m 9s
-
(Locked)
Generating scripts8m 40s
-
(Locked)
Generating functions8m 27s
-
(Locked)
Generating classes5m 4s
-
(Locked)
AI-assisted error resolution5m 8s
-
(Locked)
Code review and quality checks3m 44s
-
(Locked)
Creating documentation3m 3s
-
(Locked)
Challenge: Creating a simple application2m 6s
-
(Locked)
Solution: Creating a simple application9m 6s
-
-
-
-
-
-