所有標籤
1 篇
2016年1月11日
- SOLID原則(SRP, OCP, LSP, ISP, DIP) - SRP(Single responsibility,單一職責) - 定義:一個class應該只有一個需要改變的原因。