Skip to Content.
Sympa Menu

gang-of-4-patterns - RE: [gang-of-4-patterns] characteristics of design patterns

gang-of-4-patterns AT lists.cs.illinois.edu

Subject: Design Patterns discussion

List archive

RE: [gang-of-4-patterns] characteristics of design patterns


Chronological Thread 
  • From: Jesús Alonso <kenchoweb AT hotmail.com>
  • To: Ajay.Chandran AT cognizant.com, jayadevgyani AT yahoo.com, gang-of-4-patterns AT cs.uiuc.edu
  • Cc:
  • Subject: RE: [gang-of-4-patterns] characteristics of design patterns
  • Date: Sun, 02 Oct 2005 12:07:17 +0200
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/gang-of-4-patterns>
  • List-id: Design Patterns discussion <gang-of-4-patterns.cs.uiuc.edu>

Yes, completely agree with Ajay. Patterns are great solutions for many problems, but they are not the panacea. Applying them blindly just thinking that they will magically do a great design is really the worst one can do.
I was a pattern-fan when I learned them. I simply tried to apply as many patterns as I could. Now, I do simple designs, as I used to do, and when I identify a certain problem and know its solution, try to identify some participants in my design and then apply the pattern to complete the design.

Regards,
Jesús Alonso

Hello Jayadev,
I agree, in essense, with Jesus Alonso. But just to help you with your problem,
I would suggest you look up some text on antipatterns. A good site
to start would be here http://www.antipatterns.com/.
If you plan to compare and contrast patterns, it might be a difficult thing to do.
What you could do however, is to compare and contrast the use of different
patterns to a particular problem. We do try to apply the most suitable one but
you would be surprised how many projects suffer from design problems because
some genius, in his enthusiasm to show off his pattern knowledge, applied the
wrong one and had developers screaming during coding phase. Rarely have I
found people who acknowledge that the use of patterns has a rather steep
learning curve. Most learn the 23 gofs by rote and then blindly apply them
however they feel like.

Regards
Ajay.


________________________________

From:
gang-of-4-patterns-bounces AT cs.uiuc.edu
on behalf of Jesús Alonso
Sent: Fri 9/30/2005 6:23 PM
To:
jayadevgyani AT yahoo.com;

gang-of-4-patterns AT cs.uiuc.edu
Subject: RE: [gang-of-4-patterns] characteristics of design patterns



Hello Jayadev

Well, you can't classify patterns in good or bad. The definition of pattern
implies that it is a generic solution for a certain kind of problem. Thus,
you will find some patterns more suitable for certain problems you need to
solve. For instance, change notifications are usually done with the observer
pattern, while others talk about state changing. So you really need to read
the strengths of those patterns and evaluate which one is the best for your
problem.

You can, anyways, take a look to the replies to another mail in one of these
lists, where someone asked for the subjective opinion of the 10 patterns
most used. That's a good starting point if you want to check those first,
which are the best solution in most cases (but not the only one, of course)

Hope that helps

Regards,
Jesús Alonso

>
>sir,
>Any one can suggest papers on characteristics of good
>design patterns?which patterns are good and which are
>bad?
>
>thanking you in anticipation,
>
>
>jayadev gyani
>
>
>
>__________________________________
>Yahoo! Mail - PC Magazine Editors' Choice 2005
>http://mail.yahoo.com
>
>_______________________________________________
>gang-of-4-patterns mailing list
>gang-of-4-patterns AT cs.uiuc.edu
>http://lists.cs.uiuc.edu/mailman/listinfo/gang-of-4-patterns


_______________________________________________
gang-of-4-patterns mailing list
gang-of-4-patterns AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/gang-of-4-patterns




<< InterScan_Disclaimer.txt >>






Archive powered by MHonArc 2.6.16.

Top of Page