Design Patterns are used to help programmers with understanding concepts, teaching, learning, and building on other great working ideas and concepts. So, when you are thinking Design Patterns think of solving problems. Design Patterns are models built to help structure and solve simple to complicated issues. A good amount programmers have actually implemented them in their own code without realizing it. That is because it is such an abstract idea that you can use it without even really thinking about what it is. By knowing what Design Patterns are and how to use them you can overcome obstacles that would otherwise seem overwhelming. You also, bring another level of awareness to the table and instead of accidently implementing a shacky Design Pattern, you can implement a great Design Pattern on purpose. Design Patterns are being used increasingly in the software community and it is a big plus knowing them. It is important that you know at least the basics of Object-Oriented Programming. More specifically that you know about Inheritance and Polymorphism.

Design Patterns are often referred to as Design Templates, as they provide a template on how to handle common reoccurring issues. You can use existing Design Patterns or even create your own. There are many categories of Design Patterns, here are some popular ones:

  • Creative
  • Structural
  • Behavioral

Design Patterns have some unique positive qualities to them:

  1. They apply to any OOP (Object Orientated Programming) programming language.
  2. They are flexible. Constantly changing, evolving, and updating.
  3. Left unfinished often for creativity.

#python #programming #data-science #coding #design-patterns

Exploring Design Patterns in Python
1.50 GEEK