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
what is software cycle? What is a mission critical system ? What is the important aspect of a real-time system ? Explain the difference between microkernel and macro kernel. Give an example of microkernel.Why paging is used ? Which is the best page replacement algo and Why ? What is software life cycle ? How much time is spent usually in each phases and why Which one do U want to work if selected in Honeywell ? Which are the different types of testing ? What is a distributed system ? Some questions about CSP. Which languages do U know ? What are the differences between Pascal and C. questions from Compiler construction and Lisp. Which are the different computer architecture? What is the requirement in MIMD ? What is the difference between RISC and CISC processors ? Difference between loosely coupled and tightly coupled systems ? What is an open system?
What is the iunknown interface?
When one must use recursion function? Mention what happens when recursion functions are declared inline?
What is #include sstream?
What is anonymous object in c++?
How many keywords are used in c++?
what is upcasting in C++?
Does c++ have string data type?
Explain the use of this pointer?
What is the difference between struct and class?
What is data structure in c++?
What should main() return in c and c++?
What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?
Why is main function important?
What is a loop? What are different types of loops in c++?