SlideShare a Scribd company logo
3
Most read
7
Most read
Design Patterns
Damian Gordon
Design Patterns
• A Design Pattern is a general reusable solution to a
commonly occurring problem within a given context in
software design.
Design Patterns
• It is not a finished design that can be transformed
directly into source or machine code. It is a description
or template for how to solve a problem that can be used
in many different situations.
Design Patterns
• Design patterns are formalized best practices that the
programmer can use to solve common problems when
designing an application or system.
Design Patterns
• Object-oriented design patterns typically show
relationships and interactions between classes or
objects, without specifying the final application classes
or objects that are involved.
Design Patterns
• Patterns that imply mutable state may be unsuited for
functional programming languages, some patterns can
be rendered unnecessary in languages that have built-in
support for solving the problem they are trying to solve,
and object-oriented patterns are not necessarily
suitable for non-object-oriented languages.
Sample Design Patterns
Type Description
Algorithm strategy
patterns
Addressing concerns related to high-level strategies.
Computational design
patterns
Addressing concerns related to key computation identification.
Execution patterns Addressing concerns related to lower-level support of application execution.
Implementation strategy
patterns
Addressing concerns related to implementing source code.
Structural design
patterns
Addressing concerns related to global structures.
etc.

More Related Content

PDF
Writing Good User Stories (Hint: It's not about writing)
PPTX
Chatbot
PDF
Prompt Engineering by Dr. Naveed.pdf
PPTX
User stories in agile software development
PPTX
Historical development of cloud computing
DOCX
Best topics for seminar
PDF
ChatGPT, Generative AI and Microsoft Copilot: Step Into the Future - Geoff Ab...
PPTX
8 most important benefits of chatbots
Writing Good User Stories (Hint: It's not about writing)
Chatbot
Prompt Engineering by Dr. Naveed.pdf
User stories in agile software development
Historical development of cloud computing
Best topics for seminar
ChatGPT, Generative AI and Microsoft Copilot: Step Into the Future - Geoff Ab...
8 most important benefits of chatbots

What's hot (20)

PDF
VTU internet of things(IOT) notes by Nithin,VVCE, Mysuru
PPTX
CHATBOT PPT-2.pptx
PPTX
What Is GPT-3 And Why Is It Revolutionizing Artificial Intelligence?
DOCX
Computer science seminar topics
PDF
A Beginners Guide to noSQL
PDF
PDF
PPTX
ChatGPT Deck.pptx
PPT
Multiplayer Online Gaming
PDF
Machine Learning using Kubeflow and Kubernetes
PDF
Chapeter 2 introduction to cloud computing
PDF
Project loon
PPTX
Chatbot_Presentation
PPTX
User Story Mapping
PDF
Introduction to GitHub Copilot
PDF
Automate your Job and Business with ChatGPT #3 - Fundamentals of LLM/GPT
PPTX
Final presentation on chatbot
PPTX
Data security in cloud computing
PDF
Chapter 5 IoT Design methodologies
VTU internet of things(IOT) notes by Nithin,VVCE, Mysuru
CHATBOT PPT-2.pptx
What Is GPT-3 And Why Is It Revolutionizing Artificial Intelligence?
Computer science seminar topics
A Beginners Guide to noSQL
ChatGPT Deck.pptx
Multiplayer Online Gaming
Machine Learning using Kubeflow and Kubernetes
Chapeter 2 introduction to cloud computing
Project loon
Chatbot_Presentation
User Story Mapping
Introduction to GitHub Copilot
Automate your Job and Business with ChatGPT #3 - Fundamentals of LLM/GPT
Final presentation on chatbot
Data security in cloud computing
Chapter 5 IoT Design methodologies
Ad

Viewers also liked (13)

PPTX
Python: Polymorphism
PPTX
Python: Manager Objects
PPTX
Python: Multiple Inheritance
PPTX
Object-Orientated Design
PPTX
Introduction to Python programming
PPTX
Creating Objects in Python
PPTX
Python: Access Control
PPTX
Python: The Iterator Pattern
PPTX
Python: Third-Party Libraries
PPTX
Python: Basic Inheritance
PPTX
Python: Modules and Packages
PPTX
The Extreme Programming (XP) Model
PPTX
Python: Migrating from Procedural to Object-Oriented Programming
Python: Polymorphism
Python: Manager Objects
Python: Multiple Inheritance
Object-Orientated Design
Introduction to Python programming
Creating Objects in Python
Python: Access Control
Python: The Iterator Pattern
Python: Third-Party Libraries
Python: Basic Inheritance
Python: Modules and Packages
The Extreme Programming (XP) Model
Python: Migrating from Procedural to Object-Oriented Programming
Ad

Similar to Python: Design Patterns (20)

PDF
Design patterns for TypeScript and other languages
PPTX
DOMAIN DRIVER DESIGN
PPTX
Domain Driven Design Introduction
PDF
Designing patterns in java Advantages and disadvantagesSolution.pdf
PDF
Code & Cannoli - Domain Driven Design
PPTX
Design patterns
PDF
Software developer occupational brief
PPSX
Design patterns
PPTX
Designpattern
PDF
Domain-Driven Design (Artur Trosin Product Stream)
PPTX
Software Design
PPTX
Online TechTalk  "Patterns in Embedded SW Design"
PDF
Module 2 design patterns-2
PPTX
Design Pattern in Software Engineering
PDF
Domain Driven Design: Made Easy employing Systemic Approach
PPT
Domain Driven Design (DDD)
PPTX
Cs 1023 lec 9 design pattern (week 2)
PPT
Design final
PDF
Notes on architecture
Design patterns for TypeScript and other languages
DOMAIN DRIVER DESIGN
Domain Driven Design Introduction
Designing patterns in java Advantages and disadvantagesSolution.pdf
Code & Cannoli - Domain Driven Design
Design patterns
Software developer occupational brief
Design patterns
Designpattern
Domain-Driven Design (Artur Trosin Product Stream)
Software Design
Online TechTalk  "Patterns in Embedded SW Design"
Module 2 design patterns-2
Design Pattern in Software Engineering
Domain Driven Design: Made Easy employing Systemic Approach
Domain Driven Design (DDD)
Cs 1023 lec 9 design pattern (week 2)
Design final
Notes on architecture

More from Damian T. Gordon (20)

PPTX
Introduction to Prompts and Prompt Engineering
PPTX
Introduction to Vibe Coding and Vibe Engineering
PPTX
TRIZ: Theory of Inventive Problem Solving
PPTX
Some Ethical Considerations of AI and GenAI
PPTX
Some Common Errors that Generative AI Produces
PPTX
The Use of Data and Datasets in Data Science
PPTX
A History of Different Versions of Microsoft Windows
PPTX
Writing an Abstract: A Question-based Approach
PPTX
Using GenAI for Universal Design for Learning
DOC
A CheckSheet for Inclusive Software Design
PPTX
A History of Versions of the Apple MacOS
PPTX
68 Ways that Data Science and AI can help address the UN Sustainability Goals
PPTX
Copyright and Creative Commons Considerations
PPTX
Exam Preparation: Some Ideas and Suggestions
PPTX
Studying and Notetaking: Some Suggestions
PPTX
The Growth Mindset: Explanations and Activities
PPTX
Hyperparameter Tuning in Neural Networks
PPTX
Early 20th Century Modern Art: Movements and Artists
PPTX
An Introduction to Generative Artificial Intelligence
PPTX
An Introduction to Green Computing with a fun quiz.
Introduction to Prompts and Prompt Engineering
Introduction to Vibe Coding and Vibe Engineering
TRIZ: Theory of Inventive Problem Solving
Some Ethical Considerations of AI and GenAI
Some Common Errors that Generative AI Produces
The Use of Data and Datasets in Data Science
A History of Different Versions of Microsoft Windows
Writing an Abstract: A Question-based Approach
Using GenAI for Universal Design for Learning
A CheckSheet for Inclusive Software Design
A History of Versions of the Apple MacOS
68 Ways that Data Science and AI can help address the UN Sustainability Goals
Copyright and Creative Commons Considerations
Exam Preparation: Some Ideas and Suggestions
Studying and Notetaking: Some Suggestions
The Growth Mindset: Explanations and Activities
Hyperparameter Tuning in Neural Networks
Early 20th Century Modern Art: Movements and Artists
An Introduction to Generative Artificial Intelligence
An Introduction to Green Computing with a fun quiz.

Recently uploaded (20)

PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
Pharma ospi slides which help in ospi learning
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
Cell Types and Its function , kingdom of life
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Presentation on HIE in infants and its manifestations
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Abdominal Access Techniques with Prof. Dr. R K Mishra
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
Pharma ospi slides which help in ospi learning
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
A systematic review of self-coping strategies used by university students to ...
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Anesthesia in Laparoscopic Surgery in India
Pharmacology of Heart Failure /Pharmacotherapy of CHF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Microbial diseases, their pathogenesis and prophylaxis
Cell Types and Its function , kingdom of life
2.FourierTransform-ShortQuestionswithAnswers.pdf
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Presentation on HIE in infants and its manifestations
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...

Python: Design Patterns

  • 2. Design Patterns • A Design Pattern is a general reusable solution to a commonly occurring problem within a given context in software design.
  • 3. Design Patterns • It is not a finished design that can be transformed directly into source or machine code. It is a description or template for how to solve a problem that can be used in many different situations.
  • 4. Design Patterns • Design patterns are formalized best practices that the programmer can use to solve common problems when designing an application or system.
  • 5. Design Patterns • Object-oriented design patterns typically show relationships and interactions between classes or objects, without specifying the final application classes or objects that are involved.
  • 6. Design Patterns • Patterns that imply mutable state may be unsuited for functional programming languages, some patterns can be rendered unnecessary in languages that have built-in support for solving the problem they are trying to solve, and object-oriented patterns are not necessarily suitable for non-object-oriented languages.
  • 7. Sample Design Patterns Type Description Algorithm strategy patterns Addressing concerns related to high-level strategies. Computational design patterns Addressing concerns related to key computation identification. Execution patterns Addressing concerns related to lower-level support of application execution. Implementation strategy patterns Addressing concerns related to implementing source code. Structural design patterns Addressing concerns related to global structures.