|
Boost : |
From: Andrei Alexandrescu (andrewalex_at_[hidden])
Date: 2002-01-22 16:41:26
> But when a framework class has forwarding functions whose only job is to
> facilitate communication between policies, the polices aren't "truly
> orthogonal" in my mind.
I disagree. If the framework is the only facilitator for communication, you
have a unique point of review and maintenance for the communication. If
policies can communicate freely, it's all much more messier.
Functions that provide plumbing between otherwise independent components
that live in total ignorance of each other are common in all designs, and a
sign of good quality in many.
> Also, if some feature can't be implemented because
> it would require inter-policy communication that hasn't been provided, the
> policies may be "true orthogonal", but the design is crippled.
My thoughts exactly.
Andrei
---------------------------------
Check out THE C++ Seminar: 3 Days with 5 Experts
http://www.gotw.ca/cpp_seminar/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk