DEV Community

Said Olano
Said Olano

Posted on

Hide Implementation Details Principle

A software module hides information (i.e. implementation details) by providing an interface, and not leak any unnecessary information.

When the implementation changes, the interface clients are using does not have to change.

Avoid putting private implementation details into a class’s interface.

Top comments (0)

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay