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.
Recognizing and implementing design patterns
From the course: AI-Powered Software Development: Coding, Testing, and System Design
Recognizing and implementing design patterns
- [Instructor] Alright, so now that we've seen how Generative AI can help us design the architecture for a new application, the next thing you might be wondering is, can generative AI help us improve the design of existing code? And the answer to that is, of course, yes. So what we see here, and you can find this in the exercise files if you wanna follow along here with me, is a piece of code that needs a little bit of help. So this is the kind of code that you might see in a naively implemented program for processing payments. And as we see, there are multiple different ways that we can allow customers to pay. So like credit card, PayPal, crypto, and so on, but the way that this is implemented is not ideal. In other words, if we wanted to add a new method of payment, we would actually have to modify this class itself, which goes against the idea in software architecture that our code should be open to extension, but…
Contents
-
-
-
-
AI-assisted software architecture planning7m 6s
-
(Locked)
Recognizing and implementing design patterns3m 41s
-
(Locked)
Microservices design with AI guidance3m 47s
-
(Locked)
API design and documentation generation3m 4s
-
(Locked)
Challenge: Designing an API3m 20s
-
(Locked)
Solution: Designing an API6m 48s
-
-
-
-