Explain what is Design Pattern and Anti-Pattern?

Showing Answers 1 - 2 of 2 Answers

lingareddy

  • Nov 27th, 2006
 

Design Pattern is set rules approach problem.Designpatterns given by senior engineers will be documented.

WorstAnti Pattr

  Was this answer useful?  Yes

Just as design patterns provide a way to communicte  concisely with desired software practices, these antipatterns provide the equivalent advantages of communicating with undesirable practices.


An antipattern is a classified bad design , it is just opposite to design pattern that suggest good design ,they provide bad solutions in a manner that makes it easy for the concerned persons to understand the underlying problems and their consequences.

Depending on the development team's skill, the product might have either a good or a bad design, with the terms good and bad here applied within a context, because a perfect design can qualify as an antipattern when applied in the wrong context.
For example, using a Singleton object might be appropriate in a single-application server environment, but it can actually create issues if not handled properly in a clustered-application server environment. In contrast to a positive design pattern, antipatterns elicit a negative solution or legacy approach .Whether in construction or in maintenance mode, knowledge of antipatterns is imperative for success. Once recognized, developers can refactor these negative patterns to eradicate the bad design, and meliorate the software in general.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions