在 Design Patterns: Elements of Reusable Object-Oriented Software 一書中,提出並總結了一些常見軟體設計問題的標準解決方案,稱為 Design Pattern。並將這些方法分為三大類:Creational、Structural、Behavioral。其中 Design Pattern 有六大原則: 七大原則 Open-Closed Principle 開放封閉原則 一個軟體實體如類、模組和函式應該對擴充套件開放,對修改關閉 Lisko...
Markdown supported · ⌘↵ to post
No responses yet.