设计模式的六大原则 一、单一职责原则(Single Responsibility Principle)二.开闭原则(Open-Closed Principle, OCP)三、里氏代换原则(Liskov Substitution Principle, LSP)四、依赖倒置原则(Dependence Inversion Principle,DIP)五、接口隔离原则(InterfaceSegregati... Other 2024-08-03 34 点赞 0 评论 51 浏览