Easy-to-Use Software Development Using OOP
摘要
Chapter 6 used OOP inheritance concepts to quickly handle challenges in upgrading existing software, creating new versions, and rapidly developing new software systems from existing ones. In this chapter, you learn OOP polymorphism concepts to implement easily accessible software with standard interfaces. Usually, it is difficult to use software with many interfaces; for example, to play any game, the number of controls should be minimal, then only players can enjoy the game. Similarly, accessing any software application should offer only minimal standard user-accessing interfaces. For example, to use any document software, you observe only a few interfaces, such as cut, copy, paste, and delete. From these sample applications, you can observe that instead of creating multiple interfaces to interact with software, defining minimal standard interfaces simplifies usage.