Timothy Margheim

34%
Flag icon
Another application of the “different layer, different abstraction” rule is that the interface of a class should normally be different from its implementation: the representations used internally should be different from the abstractions that appear in the interface. If the two have similar abstractions, then the class probably isn’t very deep.
A Philosophy of Software Design
Rate this book
Clear rating
Open Preview