how will pleople select suitable design pattern?
1 posts in topic
Flat View  Flat View

Posted By:   Anonymous
Posted On:   Saturday, April 1, 2006 02:10 AM

sir,what are the things to be kept in mind while selecting a design patterns for a specific projects?

As we have hundreds of design patterns,how should i aware of all these to select a specific one for a specific project.As they are proved once,i know its better to fallow,but its difficult to read all, and then selecting a suitable one.

Re: how will pleople select suitable design pattern?

Posted By:   Robert_Lybarger  
Posted On:   Sunday, April 9, 2006 10:49 PM

Just experience and exposure to other [better] people's code. The first rule of writing software is that there is no single, one, "right way" to solve a given problem... there are usually multiple ways (both good and bad) to solve a problem, but some just turn out better than others (for different reasons, depending on what is important and how you define "better"). After decades of paying attention, smart people started noticing some solutions had things in common.

Since there are so many, you're bound to use some patterns by accident (that is, without trying). Don't get hung up trying to memorize them all unless you are in a class that says you need to know them for an exam. Still, any familiarity with any of them can be a good thing.

About | Sitemap | Contact