Re: May I have a example of design pattern of "composite", I still feel fuzzy after reading book of Addison-Wesley's"design pattern "
- From: ajk <ak@xxxxxxxxxxxx>
- Date: Fri, 31 Aug 2007 18:38:17 +0800
On Fri, 31 Aug 2007 00:31:04 -0500, Logan Shaw
<lshaw-usenet@xxxxxxxxxxxxx> wrote:
Alf P. Steinbach wrote:
* jones9413@xxxxxxxxx:
Thank you for your kind & help !
See [http://en.wikipedia.org/wiki/Composite_pattern#Example], which I
found in 1 second of googling (and so could you).
Yeah, but to be fair, from a quick reading, that Wikipedia page is a
terrible explanation. I'm sure they're trying to say something else,
but the way it reads, they seem to be implying all objects are shapes.
Or that the Composite pattern is always used with objects representing
shapes.
I think this is a better explanation:
http://home.earthlink.net/~huston2/dp/composite.html
.
- References:
- Prev by Date: Re: Coding Standards
- Next by Date: In-place Counting Sort
- Previous by thread: Re: May I have a example of design pattern of "composite", I still feel fuzzy after reading book of Addison-Wesley's"design pattern "
- Next by thread: Efficient interval representation
- Index(es):