From the course: Programming Foundations: Object-Oriented Design

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Design patterns

Design patterns - Python Tutorial

From the course: Programming Foundations: Object-Oriented Design

Start my 1-month free trial

Design patterns

- Creating software that merely works is tough enough, but writing code that's also flexible, maintainable, and extensible, that's a real challenge. You should expect your code to undergo multiple changes throughout the development process. And even after being released, most modern applications receive updates to improve features or fix bugs. If you don't structure your code well from the beginning, making those changes can be a major burden. This is where using a design pattern can be really useful. Design patterns are common, repeatable solutions for creating software programs. They define code architectures and best practices for solving common software design problems that occur again and again across all kinds of applications, from business apps to games. Now, design patterns aren't strict standards with exact lines of codes to use, rather they're templates to help structure your code in a smart way. So you'll spend less time refactoring it and more time adding new cool…

Contents