Book Image

Python Design Patterns [Video]

By : James Cross
Book Image

Python Design Patterns [Video]

By: James Cross

Overview of this book

A knowledge of design patterns enables developers to improve their codebase, promotes code reuse, and makes the architecture more robust. This course focuses on showing you the practical aspects of smarter coding in Python. We start off by easing you into the world of design patterns and helping you brush up on your OOP skills. From there, you'll explore the most widely used patterns and create objects in a manner best suited to the situation. Then we take you through some patterns that will help you identify simple ways to realize relationships between entities. Next, we show you how to encapsulate behavior in an object and delegate requests to it, before we up the ante and delve into some advanced patterns. Last but not least, we'll make you aware of design styles that will hamper your development, rather than improving it. With this course, thanks to patterns, you will be well equipped to craft faster, cleaner, and smarter applications.
Table of Contents (6 chapters)
Chapter 6
No Pattern (a.k.a AntiPattern)
Content Locked
Section 1
Spaghetti Code
Present the spaghetti code AntiPattern. - Understand why spaghetti code is an AntiPattern - Understand common symptoms, consequences, and causes - Demonstrate a spaghetti code example, explain how to improve it