Skip to Content.
Sympa Menu

gang-of-4-patterns - [gang-of-4-patterns] I need help about GOF patterns

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

Subject: Design Patterns discussion

List archive

[gang-of-4-patterns] I need help about GOF patterns


Chronological Thread 
  • From: rajesh AT cs.iitm.ernet.in
  • To: gang-of-4-patterns AT cs.uiuc.edu
  • Subject: [gang-of-4-patterns] I need help about GOF patterns
  • Date: Fri, 7 Nov 2003 10:14:14 +0530 (IST)
  • List-archive: <http://mail.cs.uiuc.edu/pipermail/gang-of-4-patterns/>
  • List-id: Design Patterns discussion <gang-of-4-patterns.cs.uiuc.edu>

Hello,

I have been working on GOF patterns. How do people code the pattern
functionality with out using pattern solution.Suppose , in case of builder
pattern, how do we code it's functionality in java with out using the
builder pattern solution.
For all GOF patterns, i need poor way of coding them.

and also i believe that if there is only one solution for a problem (GOF
patterns address) then that is pattern way of solving it. If there are
more solutions and those any one of those solutions people code most of
the time.

My second doubt is:
(in the contenxt of java )
If a method is creating objects using constructors by hard coding them and
a method (this is called from the method where objects are created) of an
object is using the objects created through constructor statements then
builder pattern can be used.

is it correct?

Looking forward for ur reply

regards
rajesh





--
===================================================================


"Genius is one percent inspiration and 99 percent perspiration."
-- Thomas Alva Edison


===================================================================






Archive powered by MHonArc 2.6.16.

Top of Page