设计模式与设计原则

六大设计原则

# 六大设计原则 ## [单一职责原则][1] Single Responsibility Principle 应该有且仅有一个原因引起类的变更。There should never be more than one reason for a class to cha