What is Encapsulation and how can it defend abstractions against corruption?

Posted by symfony on Stack Overflow See other posts from Stack Overflow or by symfony
Published on 2010-03-21T13:57:03Z Indexed on 2010/03/21 14:01 UTC
Read the original article Hit count: 133

Filed under:
|

It's quoted from a report by Bjarne:

Encapsulation – the ability to provide guarantees that an abstraction is used only according to its specification – is crucial to defend abstractions against corruption.

Can someone explain this?

Thanks

© Stack Overflow or respective owner

Related posts about oop

Related posts about encapsulation