[Exceptional C++ Style] Item 14: Order, Order!

Kevlin Henney kevlin at curbralan.com
Tue Dec 14 03:26:37 EST 2004


In message <20041213170753.ZPVO11200.fep02-app.kolumbus.fi at EVO>, White 
Wolf <wolof at freemail.hu> writes
>>
>> In that case it is a definition that you should make
>> explicit, because the definition of strength is otherwise
>> unqualified and people will fall back on the associations
>> normally used when describing relationship strength and
>> thoughts of coupling, cohesion and dependency management in
>> general. However, even after clarifying the terminology,
>> friendship still ranks second: membership is a stronger binding.
>
>Why?  A member does not depend on the class containing it.

Err, yes it does: that is fundamental to the definition of membership!

Kevlin
-- 
____________________________________________________________

   Kevlin Henney                   phone:  +44 117 942 2990
   mailto:kevlin at curbralan.com     mobile: +44 7801 073 508
   http://www.curbralan.com        fax:    +44 870 052 2289
   Curbralan: Consultancy + Training + Development + Review
____________________________________________________________



More information about the Effective-cpp mailing list