[Exceptional C++ Style] Item 17 - Encapsulation

Hammond, Peter peter.hammond at amsjv.com
Tue Dec 21 04:10:59 EST 2004


> -----Original Message-----
> From: Jon Jagger [mailto:jon at jaggersoft.com]
> Sent: 20 December 2004 21:06
> To: solosnake at solosnake.com; effective-cpp at accu.org
> Subject: Re: [Exceptional C++ Style] Item 17 - Encapsulation

<big snip> 

> But none of these apply in my case. Bending the design of 
> what I know I 
> need to accomodate hypothetical features I cannot imagine wanting or 
> needing (after many months of intimate experience) does not 
> seem a good 
> idea. Design is not about providing the maximum number of 
> features and 
> "flexibility" (whatever that means) - it's about providing 
> the _minimum_ 
> number of features. Constraints do not limit design they provoke it.

To paraphrase a famous quote, a design is complete when there is nothing
more to remove.

Pete.

> 
> Cheers
> Jon
> 
> 
> _______________________________________________
> Effective-cpp mailing list
> Effective-cpp at accu.org
> List: http://www.accu.org/mailman/listinfo/effective-cpp
> Project: http://www.paulgrenyer.dyndns.org/cppstyle/
> 

********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************



More information about the Effective-cpp mailing list