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
Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..
Can you write a function similar to printf()?
Evaluate the following expression as C++ would do :8 * 9 + 2 * 5 a) 82 b) 79 c) 370 d) list
Differentiate between a template class and class template in c++?
Which bit wise operator is suitable for checking whether a particular bit is on or off?
What is virtual function? Explain with an example
Why would you use pointers in c++?
Why c++ is created?
why is iostream::eof inside a loop condition considered wrong?
Will a C compiler always compile C++ code a) Yes b) No c) Only optimized compilers
Difference between an inspector and a mutator
What is microsoft c++ redistributable?
How do I run a program in notepad ++?
Will a recursive function without an end condition every quit, in practice a) Compiler-Specific (Some can convert to an infinite loop) b) No c) Yes
How would you use the functions memcpy(), memset(), memmove()?