Home Segments Index Top Previous Next

276: Mainline

When you move representation details into instance-creation methods, setters, and getters, you are said to be practicing data abstraction, and you are said to be hiding behind a data-abstraction barrier the details of how data are represented.

Good programmers carefully design into their programs appropriate data-abstraction barriers.