The Artima Developer Community
Sponsored Link

News & Ideas Forum (Closed for new topic posts)
A Look at the Composite Design Pattern

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Bill Venners

Posts: 2284
Nickname: bv
Registered: Jan, 2002

A Look at the Composite Design Pattern Posted: Sep 19, 2002 1:29 PM
Reply to this message Reply
Advertisement
The other day I was listening to National Public Radio's Car Talk, a popular weekly broadcast during which callers ask questions about their vehicles. Before every program break, the show's hosts ask callers to dial 1-800-CAR-TALK, which corresponds to 1-800-227-8255. Of course, the former proves much easier to remember than the latter, in part because the words "CAR TALK" are a composite: two words that represent seven digits. Humans generally find it easier to deal with composites, rather than their individual components. Likewise, when you develop object-oriented software, it's often convenient to manipulate composites just like you manipulate individual components. That premise represents the fundamental principle of the Composite design pattern, says David Geary in this JavaWorld article:

http://www.javaworld.com/javaworld/jw-09-2002/jw-0913-designpatterns.html?

Topic: Changing the Zen of Programming Previous Topic   Next Topic Topic: Elliotte Rusty Harold Unveils XOM

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use