Re: Client/Service Design Style.

John Carter <[email protected]>
Newsgroups gmane.comp.programming.language-of-the-year
Message-ID <[email protected]>
On Fri, 23 May 2008, Tanton Gibbs wrote:

> This sounds to me a lot like dependency inversion.  It's not 100%
> identical, but a lot of the ideas are the same.
>
> http://www.objectmentor.com/resources/articles/dip.pdf

Yes/no.... The rule of no cycles in dependencies between clients and
services requires you find a way to break tangles.

One of the standard methods I reach for to break such a tangle is
DIP. Except moving compile time tangle to a link or run time tangle
(which is what DIP does) is not entirely satisfactory.

It's a considerable improvement to remove interface coupling, but
implementation coupling can still muck up your life in interesting
ways.

Still, like I said, DIP is a vital first step into breaking a cyclic
dependency tangle.

John Carter                             Phone : (64)(3) 358 6639
Tait Electronics                        Fax   : (64)(3) 359 4632
PO Box 1645 Christchurch                Email : [email protected]
New Zealand
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.