D pointers

Thomas Braxton brax108 at cox.net
Sat Oct 1 19:09:56 BST 2005


On Saturday 01 October 2005 12:50 pm, Maks Orlovich wrote:
> It's not about API. It's about implementation details. And the
> implementation details only affect the person maintaining the class.
> -Maks.
Implementation details exposed in the public API, effect everyone who uses the 
class, not only the maintainer. If you change the implementation details of a 
class that are visible in the public API, the class is no longer 
source/binary compatible. If you hide the implementation details in a Private 
class, then you can change them to your hearts content without effecting the 
public API, or the binary compatibility of the class, and users of the class 
will not know or care how it is implemented as long as it works correctly.




More information about the kde-core-devel mailing list