- Hands-On Design Patterns with Java
- Dr. Edward Lavieri
- 71字
- 2021-06-24 14:58:00
Principles of design patterns
So far, we have discussed taking a multi-class approach to designing object-oriented programs. We also used examples to demonstrate the use of accessors, mutators, constructors, and driver classes. There are three key principles to bear in mind when studying the design patterns presented in subsequent chapters of this book:
- Creating concise objects
- Encapsulating to protect
- Being purposeful with inheritance
These principles are explored in the subsequent sections.
推薦閱讀
- PyTorch深度學(xué)習(xí)實戰(zhàn):從新手小白到數(shù)據(jù)科學(xué)家
- Architects of Intelligence
- 深入淺出數(shù)字孿生
- Ceph源碼分析
- 達夢數(shù)據(jù)庫運維實戰(zhàn)
- 視覺大數(shù)據(jù)智能分析算法實戰(zhàn)
- Hadoop 3實戰(zhàn)指南
- MySQL DBA修煉之道
- 中文版Access 2007實例與操作
- Oracle 內(nèi)核技術(shù)揭密
- 基于數(shù)據(jù)發(fā)布的隱私保護模型研究
- 數(shù)據(jù)中心UPS系統(tǒng)運維
- Learn Selenium
- 數(shù)據(jù)庫原理及應(yīng)用實驗:基于GaussDB的實現(xiàn)方法
- 高效使用Redis:一書學(xué)透數(shù)據(jù)存儲與高可用集群