In computer science, information hiding is the principle of segregation of the design decisions in a computer program that are most likely to change, thus protecting other parts of the program from extensive modification if the design decision is changed. The protection involves providing a stable interface which protects the remainder of the program from the implementation (the details that are most likely to change).
Written another way, information hiding is the ability to prevent certain aspects of a class or software component from being accessible to its clients, using either programming language features (like private variables) or an explicit exporting policy.
Read more about Information Hiding: Overview, Encapsulation, History, Example of Information Hiding, Relation To Object-oriented Programming
Famous quotes containing the words information and/or hiding:
“We hear a great deal of lamentation these days about writers having all taken themselves to the colleges and universities where they live decorously instead of going out and getting firsthand information about life. The fact is that anybody who has survived his childhood has enough information about life to last him the rest of his days.”
—Flannery OConnor (19251964)
“By school age, many boys experience pressure to reveal inner feelings as humiliating. They think their mothers are saying to them, You must be hiding something shameful. And shucking clams is a snap compared to prying secrets out of a boy whos decided to clam up.”
—Ron Taffel (20th century)