gang-of-4-patterns AT lists.siebelschool.illinois.edu
Subject: Design Patterns discussion
List archive
- From: rajesh AT cs.iitm.ernet.in
- To: gang-of-4-patterns AT cs.uiuc.edu
- Subject: [gang-of-4-patterns] query on composite pattern
- Date: Thu, 20 Nov 2003 10:36:27 +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,
1) What is the exact problem the composite pattern is addressing?
Can I formulate it(problem) like , how do we represent part-whole
hierarchies and to treat individual objects and compositions uniformly?
(is this the problem ?)
2) Assume that we don't have composite pattern.How do we achieve the
solution for the problem that the composite pattern is addressing.In other
words, What is the bad smell for composite design pattern in the code that
doesn't have any pattern based solution? or What is the naive solution for
the problem of composite design pattern?
looking forward for reply.
regards
rajesh
--
===================================================================
"Genius is one percent inspiration and 99 percent perspiration."
-- Thomas Alva Edison
===================================================================
- [gang-of-4-patterns] query on composite pattern, rajesh, 11/19/2003
- RE : [gang-of-4-patterns] query on composite pattern, Mikal Ziane, 11/20/2003
- <Possible follow-up(s)>
- Re: [gang-of-4-patterns] query on composite pattern, Prantor . Bora, 11/20/2003
Archive powered by MHonArc 2.6.16.