Re: dip Notions 2 Major Errors
From: Mark Nicholls (Nicholls.Mark_at_mtvne.com)
Date: 09/15/04
- Next message: Mark Nicholls: "Re: graph of behavior - was Re: State vs. Data (was Re: Fans of Template Method with protected variable?)"
- Previous message: Robert C. Martin: "Re: Is this the DIP confusion?"
- In reply to: Roger L. Cauvin: "Re: dip Notions 2 Major Errors"
- Next in thread: Roger L. Cauvin: "Re: dip Notions 2 Major Errors"
- Reply: Roger L. Cauvin: "Re: dip Notions 2 Major Errors"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 15 Sep 2004 05:37:46 -0700
"Roger L. Cauvin" <roger@deadspam.com> wrote in message news:<2qmuk3Fv0ae6U1@uni-berlin.de>...
> "Universe" <universe@tAkEcovad.OuT.net> wrote in message
> news:3n0ck0pjnf07ljt8kte67uk1l7dtur3qim@4ax.com...
> >
> > But Cauvin is skirting the fact that even though RCM has
> > recently backed away from doing so, in RCM's earlier
> > posts in the dip threads, the design/structuring of
> > compilation units whether called modules or packages
> > was INTEGRAL to the practice of dip.
>
> No, I reviewed his messages in these threads. Robert did mention packages
> (sets of classes) as particularly illustrative of the impact of dependency
> inversion, but he did not portray them as essential to DIP.
>
> And when he has used the term "module" synonymously with "package", it has
> only been in direct response to such usage on Mark's part.
Mr Martin wrote in his post.
> |------module A------| |------module B------|
>
> |P|-------------------->|IQ|<|------|Q|
>
> And then move the interface out of the depended upon module.
>
> |------module A------| |------module B------|
>
> |P|----->|IQ|<|----------------|Q|
....
Mr Martin wrote in his post.....
> Then the inverted dependency was stretched
> across the module boundary so that B now depends upon A.
note the use of the word module and how he has drawn two layers,
logical and physical.
I agree with him about the definition of module and we both agree with
Booch.
Can we agree to disagree? I can.
- Next message: Mark Nicholls: "Re: graph of behavior - was Re: State vs. Data (was Re: Fans of Template Method with protected variable?)"
- Previous message: Robert C. Martin: "Re: Is this the DIP confusion?"
- In reply to: Roger L. Cauvin: "Re: dip Notions 2 Major Errors"
- Next in thread: Roger L. Cauvin: "Re: dip Notions 2 Major Errors"
- Reply: Roger L. Cauvin: "Re: dip Notions 2 Major Errors"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|