- 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.
推薦閱讀
- 數(shù)據(jù)庫基礎與應用:Access 2010
- 算法競賽入門經(jīng)典:習題與解答
- 醫(yī)療大數(shù)據(jù)挖掘與可視化
- Lean Mobile App Development
- Mastering Machine Learning with R(Second Edition)
- 大數(shù)據(jù):從概念到運營
- Learn Unity ML-Agents:Fundamentals of Unity Machine Learning
- Flutter Projects
- Splunk智能運維實戰(zhàn)
- 數(shù)據(jù)庫應用系統(tǒng)開發(fā)實例
- 數(shù)據(jù)挖掘競賽實戰(zhàn):方法與案例
- 大數(shù)據(jù)與機器學習:實踐方法與行業(yè)案例
- Deep Learning with R for Beginners
- 數(shù)據(jù)分析思維:產(chǎn)品經(jīng)理的成長筆記
- Kubernetes快速進階與實戰(zhàn)