About 126,000 results
Open links in new tab
  1. Do OO design principles apply to Python? - Stack Overflow

    Feb 13, 2009 · A design pattern is just a repeatable implementation of a higher level task. The reason why Python & design patterns don't work the same as other languages is because …

  2. Which software design patterns do common GUI frameworks …

    According to this article, the best types of patterns for division between any kinds of components is Structural Patterns. from "Design Patterns: Elements of Reusable Object-Oriented Software" …

  3. python design patterns - Stack Overflow

    Mar 3, 2009 · You may also wish to read this article (select the .pdf file), which discusses Design Patterns in dynamic object oriented languages (i.e. Python). To quote the page: To quote the …

  4. design patterns - Delegates in python - Stack Overflow

    Sep 4, 2010 · Was wondering the same thing as well, Python does not seem to support delegates as a built-in feature, and expanding with a lot of opensrc libs on this type of ground-level stuff …

  5. What is the difference between Builder Design pattern and Factory ...

    Apr 17, 2009 · There are two different patterns that are commonly called "builder": a) builder according to "Design Patterns: Elements of Reusable Object-Oriented Software" by Erich …

  6. Builder pattern equivalent in Python - Stack Overflow

    May 23, 2017 · Design patterns can often be replaced with built-in language features. Your use case. You say "I wanted to have a more readable "means" to instantiating a class with many …

  7. Python Workflow Design Pattern - Stack Overflow

    (The samples are intentionally incorrect by python in order to focus on the design, not syntax). Level C - abstraction-nirvana. It looks like this level should be mentioned in this post. Yes, …

  8. design patterns - Python static immutable properties - Stack …

    Nov 28, 2019 · What's the correct way to implement static immutable properties in Python? Minimal example: A program module 'Family' has a class Parent, defined below: class …

  9. design patterns - Python: how to implement copy for base class …

    May 28, 2018 · So are there any 'design pattern' for such situations? UPD: I'd like to reformulate example from copy to deepcopy, which is more close to real case. So the idea is the same - …

  10. Python pattern for sharing configuration throughout application

    What are some better patterns for sharing a config object across an application and it's modules? I am thinking about having a 'config' module which basically creates a global config variable …

Refresh