What are advantages and disadvantages of Design patterns?
Answer Posted / prits
Advantages:
A design pattern is:
•
a standard solution to a common programming problem
•
a technique for making code more flexible by making it meet
certain criteria
•
a design or implementation structure that achieves a
particular purpose
•
a high-level programming idiom
•
shorthand for describing certain aspects of program
organization
•
connections among program components
•
the shape of an object diagram or object model
DisAdvantages:
Design patterns may increase or decrease the
understandability of a design or implementation. They can
decrease understandability by adding indirection or
increasing the amount of code.
Is This Answer Correct ? | 58 Yes | 26 No |
Post New Answer View All Answers
Explain the difference between c++ and java.
What is difference between class and structure in c++?
Difference between Abstraction and encapsulation in C++?
What are the benefits of c++?
find the two largest values among the 6 numbers using control structures : do-while,for,if else,nestedif- else ,while. one or two of them.
How the delete operator differs from the delete[]operator?
How long it will take to learn c++?
Can I have a reference as a data member of a class? If yes, then how do I initialise it?
What is the real purpose of class – to export data?
How do you invoke a base member function from a derived class in which you’ve overridden that function?
What do you mean by “this” pointer?
What are mutator methods in c++?
Out of fgets() and gets() which function is safe to use and why?
What is a friend function in c++?
Explain the auto storage classes in c++.