Home Segments Top Top Previous Next

238: Mainline

Because the virtues of data abstraction parallel those of procedure abstraction, the following discussion of the virtues of data abstraction is much like the previous discussion, in Chapter 7, of the virtues of procedure abstraction.

The key virtue of data abstraction is that you make it easy to reuse your work. You can develop a library of class definitions, and can transfer the entire library to another programmer with little difficulty.