package-design

Are there any rules for OOP?

故事扮演 提交于 2019-11-26 10:14:02
问题 Recently I heard that there are 9 rules for OOP(Java). I know only four as Abstraction, Polymorphism, Inheritance and Encapsulation. Are there any more rules for OOP? 回答1: Seems like what you're looking for are the Principles of Object-Oriented Design. Summarized from Agile Software Development Principles, Patterns, and Practices. These principles are the hard-won product of decades of experience in software engineering. They are not the product of a single mind, but they represent the