Interface Oriented Design Book Excerpt: Inheritance and Interfaces (Chapter 5) By Ken Pugh

Finding commonality among classes makes for effective object-oriented programming. Often, programmers express that commonality using an inheritance hierarchy, since that is one of the first concepts taught in object-oriented programming. We’re going to go to the other extreme in this chapter to explore the difference between using inheritance and using interfaces. An excerpt from Interface [...]