[Zope3-dev] Not really bringing the name game to a close, for now, are we?

Jeffrey P Shell jeffrey@cuemedia.com
Mon, 10 Dec 2001 16:27:05 -0700


On Monday, December 10, 2001, at 04:14  PM, Martijn Faassen wrote:
[snip]
> 'Extending interface' describes decorators, I think now, while
> 'New interface' describes adapters. Implicit versus explicit is how you
> actually ask for these interfaces which is somewhat orthogonal to the
> whole decorator versus adapter issue.

Yeah.  I realize my little example was incorrect regarding 
Decorator.  Oops.  Anyways, I think this paragraph (Extending 
interface versus New interface) is a simple and very helpful 
distinction.

Well, maybe it's "enhancing interface".  That enhancement might be 
security, it might be calls to pre and post conditions.  Java's 
streams are a good example of decorators:

http://wiki.cs.uiuc.edu/PatternStories/JavaInputFilterStreams

The Tom Tom Club was right.  Words are stupid.  :)

[snip]

Jeffrey P Shell, jeffrey@cuemedia.com