代码设计六大原则

1.接口隔离

2.单一职责

3.依赖倒置

4.里氏替换

5.开闭原则

6迪米特法则

发布了156 篇原创文章 · 获赞 36 · 访问量 19万+

猜你喜欢

转载自blog.csdn.net/nh5431313/article/details/103968960