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
Can we specify variable field width in a scanf() format string? If possible how?
Is java based off c++?
How would you differentiate between a pre and post increment operators while overloading?
What do you mean by funtion prototype?
Why do we use templates?
What are the differences between malloc() and calloc()?
What is a hash function c++?
What is implicit pointer in c++?
What is a constructor in c++ with example?
an integer constant must have atleast one a) character b) digit c) decimal point
What is setw manipulator in c++?
How would you find out if a linked-list is a cycle or not?
What are smart pointers?
Are vectors faster than arrays?
What are destructors?