All Questions
Tagged with pythondesign-patterns
4 questions
108votes
8answers
21kviews
Are there any design patterns that are unnecessary in dynamic languages like Python?
I've started reading the design pattern book by the GoF. Some patterns seem very similar with only minor conceptual differences. Do you think out of the many patterns some are unnecessary in a ...
14votes
2answers
3kviews
Object oriented vs vector based programming
I am torn between object oriented and vector based design. I love the abilities, structure and safety that objects give to the whole architecture. But at the same time, speed is very important to me, ...
2votes
2answers
939views
Changing __class__ in a factory?
I'm parsing a set of XML files of different kinds (these kinds are known in advance). These are my requirements: I want an object to represent each XML document (object-xml mapping) I'd rather have ...
-3votes
2answers
141views
Seeking appropriate design pattern(s) to describe most function-based mathematical problems
I have been looking for a good, general design pattern to implement simple mathematical structures where functions have the following properties: know which parameters they contain, parameters are "...