All Questions
Tagged with software-engineering design-patterns
4 questions
0
votes
1
answer
163
views
How does this example violate Liskov substitution principle, which then causes violation of the open-closed principle?
From Agile Principles, Patterns, and Practices in C# by Robert Martin,
Listing 10-1. A violation of LSP causing a violation of OCP
...
3
votes
3
answers
939
views
Design patterns for simple text based scripting language?
In my current application I am trying to determine the best way to implement a simple scripting language. This language would allow a user to create a script that controls a machine with various ...
6
votes
1
answer
1k
views
Is there a way of objectively measuring the efficiency or quality of software or code design?
I've been thinking about ways of measuring code, and, quite frankly, I can't think of truly objective, semi-universal ways of evaluating the quality or "strength" of code to say, "Yes, this is better ...
1
vote
1
answer
3k
views
Combine abstract factory with decorator pattern [closed]
I'm working on a simple project of software engineering that should combine two patterns.
I choose Abstract Factory and Decorator patterns to modify (dynamically) objects created with the concrete ...