Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 1.23 KB

File metadata and controls

44 lines (35 loc) · 1.23 KB

Design Patterns with Python

Creational Patterns

  1. Abstract Factory
  2. Builder
  3. Factory Method
  4. Prototype
  5. Singleton

Structural Patterns

  1. Adapter
  2. Bridge
  3. Composite
  4. Decorator
  5. Facade
  6. Flyweight
  7. Proxy

Behavioral Patterns

  1. Chain of Responsibility
  2. Command
  3. Interpreter
  4. Iterator
  5. Mediator
  6. Memento
  7. Observer
  8. State
  9. Strategy
  10. Template Method
  11. Visitor

Design Patterns

Design patterns are reusable solutions to common problems that occur in software design. They are not specific to any programming language, and can be used in many different languages. Design patterns can be used to solve problems such as:

  • How to create objects
  • How to structure classes
  • How to define the behavior of objects
  • How to define the communication between objects
  • How to organize the responsibilities of objects
  • How to organize the responsibilities of classes